Skip to content

repo sync #4418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e9ba2e4
Update enterprise-dates.json
bwestover Mar 9, 2021
cec46e6
Merge branch 'main' into update-eol-date-for-2.20
mattpollard Mar 9, 2021
3e96d63
Revert repo-sync to its old auto-merge strategy (#18189)
JamesMGreene Mar 9, 2021
a8a7b1c
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Mar 9, 2021
02f0b06
repo sync
Octomerger Mar 9, 2021
1d87a7e
Add that Discussions are available in private repos & bug fixes (#18165)
ethanpalm Mar 9, 2021
af7c055
Changes to devcontainer for codespaces (#17805)
matthewisabel Mar 9, 2021
9757153
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Mar 9, 2021
0316e5a
repo sync
Octomerger Mar 9, 2021
1ee4d3f
Remove `npm start` from Codespaces postCreateCommand (#18193)
JamesMGreene Mar 9, 2021
fd7d0ee
Add timeout and abort middleware and processing halts (#18177)
JamesMGreene Mar 9, 2021
c76a357
Revert "run update branch on a cron (#18138)" (#18203)
rachmari Mar 10, 2021
324bb38
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Mar 10, 2021
46c1caa
repo sync
Octomerger Mar 10, 2021
eaf3fa9
[March 9] Update and rename Sensitive Data Removal Policy to Private …
vollmera Mar 10, 2021
f68bdd0
Revise information about GitHub Actions in minimum specifications for…
mattpollard Mar 10, 2021
5db8b58
Action ran graphql script"update-files"
rachmari Mar 10, 2021
3b93bb2
Fix typo in jupyter spelling (#18191)
djdefi Mar 10, 2021
117600e
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Mar 10, 2021
92ac830
Do not timeout requests during testing (#18206)
JamesMGreene Mar 10, 2021
f75aafe
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Mar 10, 2021
c3b6ace
GraphQL schema update
Octomerger Mar 10, 2021
9e31597
Use promisified fs.readFile instead of fs.promises.readFile (#18204)
JamesMGreene Mar 10, 2021
c5215c4
Add workflow to move issues to "help wanted" column when "help wanted…
skedwards88 Mar 10, 2021
b6019bc
Create production-config-change.md (#18171)
heiskr Mar 10, 2021
6db9593
Merge branch 'main' into update-eol-date-for-2.20
sarahs Mar 10, 2021
e2813ad
rerun ci
sarahs Mar 10, 2021
2e8b119
Merge pull request #18176 from github/update-eol-date-for-2.20
sarahs Mar 10, 2021
5f70c49
Add dependency graph 3-0 release notes (#18198)
Mar 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
{
"name": "docs.github.com",
"service": "container-doc",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"cSpell.language": ",en"
},
// Install pre-requisites, and start to serve docs.github.com locally
"postCreateCommand": "npm install && npm start",
// Install pre-requisites and run a build to ensure we are ready to start serving docs.github.com locally (via `npm start`)
"postCreateCommand": "npm ci && npm run build",
"forwardPorts": [4000],
// Visual Studio Code extensions which help authoring for docs.github.com.
"extensions": [
Expand Down
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/production-config-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Change production configuration
about: Track changes to the production docs.github.com site
title: ''
labels: engineering
assignees: ''
---

A configuration change would be something outside of our code that we change with our production environment, such as environment variables, virtual machine tier or quantity, or service providers.

- _Primary person_:
- _Second person_:
- _When_:
- _Zoom URL_:

### What is the configuration change?

### Why are we updating this configuration?

### What risks are there with this configuration change?

### If an issue happens, how do we roll back?

Once the change is verified good, please close this issue.
2 changes: 2 additions & 0 deletions .github/allowed-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = [
"actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e", //actions/[email protected]
"ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262", //ruby/[email protected]
"actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", //actions/[email protected]
"alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9",
"andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84",
"archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94",
"ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d",
"crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688",
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/autoupdate-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:
push:
branches:
- main
schedule:
- cron: '*/30 * * * *' # every 30 minutes

jobs:
autoupdate:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/move-help-wanted-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Move help wanted issues
on:
issues:
types:
- labeled

jobs:
move_issues:
if: github.repository == 'github/docs' && (github.event.label.name == 'help wanted' || github.event.label.name == 'good first issue')
runs-on: ubuntu-latest

steps:
- uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9
with:
project: Docs team reviews
column: Help wanted
repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
22 changes: 22 additions & 0 deletions .github/workflows/move-ready-to-merge-issues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Move and unlabel ready to merge issues
on:
issues:
types:
- labeled

jobs:
unmark_for_review:
if: github.repository == 'github/docs' && github.event.label.name == 'ready to merge'
runs-on: ubuntu-latest
steps:
- name: move issue
uses: alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9
with:
project: Docs team reviews
column: Triage
repo-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
- name: remove label
uses: andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84
with:
remove-labels: 'waiting for review'
repo-token: ${{ secrets.GITHUB_TOKEN }}
30 changes: 1 addition & 29 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
destination_branch: main
pr_title: 'repo sync'
pr_body: "This is an automated pull request to sync changes between the public and private repos.\n\n:robot: This pull request should be merged (not squashed) to preserve continuity across repos, so please let a bot do the merging!"
pr_label: autoupdate,automated-reposync-pr
pr_label: automerge,autoupdate,automated-reposync-pr
github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}

- name: Find pull request
Expand Down Expand Up @@ -88,34 +88,6 @@ jobs:
console.log(`Branch is already up-to-date`)
}

- name: Enable GitHub auto-merge
if: ${{ steps.find-pull-request.outputs.number }}
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const pull = await github.pulls.get({
...context.repo,
pull_number: parseInt(${{ steps.find-pull-request.outputs.number }})
})

const pullNodeId = pull.data.node_id
console.log(`Pull request GraphQL Node ID: ${pullNodeId}`)

const mutation = `mutation ($id: ID!) {
enablePullRequestAutoMerge(input: {
pullRequestId: $id,
mergeMethod: MERGE
}) {
clientMutationId
}
}`
const variables = {
id: pullNodeId
}
await github.graphql(mutation, variables)
console.log('Auto-merge enabled!')

- name: Send Slack notification if workflow fails
uses: someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd
if: failure()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Increased requirements for {% data variables.product.prodname_ghe_server %} 3.0
| 5,000 to 8000 | **16**<br/>_Up from 12_ | 96 GB | 750 GB | 200 GB |
| 8,000 to 10,000+ | **20**<br/>_Up from 16_ | **160 GB**<br/>_Up from 128 GB_ | 1000 GB | 200 GB |

For more information about hardware requirements for {% data variables.product.prodname_actions %}, see "[Getting started with {% data variables.product.prodname_actions %} for {% data variables.product.prodname_ghe_server %}](/admin/github-actions/getting-started-with-github-actions-for-github-enterprise-server#review-hardware-considerations)."

{% data reusables.enterprise_installation.about-adjusting-resources %}

{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,20 @@ This article explains how site administrators can configure {% data variables.pr

{% endif %}

{% data reusables.actions.enterprise-hardware-considerations %}
The CPU and memory resources available to {% data variables.product.product_location %} determine the maximum job throughput for {% data variables.product.prodname_actions %}.

For more information about resource requirements for {% data variables.product.prodname_ghe_server %}, see the hardware considerations for your instance's platform.
Internal testing at {% data variables.product.company_short %} demonstrated the following maximum throughput for {% data variables.product.prodname_ghe_server %} instances with a range of CPU and memory configurations. You may see different throughput depending on the overall levels of activity on your instance.

| vCPUs | Memory | Maximum job throughput |
| :--- | :--- | :--- |
| 4 | 32 GB | Demo or light testing |
| 8 | 64 GB | 25 jobs |
| 16 | 160 GB | 35 jobs |
| 32 | 256 GB | 100 jobs |

If you {% if currentVersion == "[email protected]" %}enabled the beta of{% else %}plan to enable{% endif %} {% data variables.product.prodname_actions %} for the users of an existing instance, review the levels of activity for users and automations on the instance and ensure that you have provisioned adequate CPU and memory for your users. For more information about monitoring the capacity and performance of {% data variables.product.prodname_ghe_server %}, see "[Monitoring your appliance](/admin/enterprise-management/monitoring-your-appliance)."

For more information about minimum hardware requirements for {% data variables.product.product_location %}, see the hardware considerations for your instance's platform.

- [AWS](/admin/installation/installing-github-enterprise-server-on-aws#hardware-considerations)
- [Azure](/admin/installation/installing-github-enterprise-server-on-azure#hardware-considerations)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ versions:

{% data reusables.discussions.about-discussions %} {% data reusables.discussions.about-categories-and-formats %}

Each category must have a unique name and emoji pairing, and can be accompanied by a detailed description stating its purpose. Categories help maintainers organize how conversations are filed and are customizable to help distinguish categories that are Q&A or more open-ended conversations.{% data reusables.discussions.repository-category-limit %}

For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions)."
Each category must have a unique name and emoji pairing, and can be accompanied by a detailed description stating its purpose. Categories help maintainers organize how conversations are filed and are customizable to help distinguish categories that are Q&A or more open-ended conversations. {% data reusables.discussions.repository-category-limit %} For more information, see "[About discussions](/discussions/collaborating-with-your-community-using-discussions/about-discussions#about-categories-and-formats-for-discussions)."

### Default categories

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To manage discussions in a repository, discussions must be enabled for the repos

### Changing the category for a discussion

You can categorize discussions to help community members find related discussions. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)" article.
You can categorize discussions to help community members find related discussions. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)."

You can also move a discussion to a different category.

Expand Down
6 changes: 3 additions & 3 deletions content/discussions/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Discussions give a space for more collaborative conversations by connecting and

### Enabling {% data variables.product.prodname_discussions %} on your repository

Repository owners and people with write access can enable {% data variables.product.prodname_discussions %} for a community on their public repositories.
Repository owners and people with write access can enable {% data variables.product.prodname_discussions %} for a community on their public and private repositories.

When you first enable a {% data variables.product.prodname_discussions %}, you will be invited to configure a welcome post.

Expand Down Expand Up @@ -49,13 +49,13 @@ Anyone with access to a repository can create a discussion.

### Organizing discussions into relevant categories

Repository owners and people with write access can create new categories to keep discussions organized. Collaborators participating and creating new discussions can group discussions into the most relevant existing categories. Discussions can also be recategorized after they are created. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)"
Repository owners and people with write access can create new categories to keep discussions organized. Collaborators participating and creating new discussions can group discussions into the most relevant existing categories. Discussions can also be recategorized after they are created. For more information, see "[Managing categories for discussions in your repository](/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository)."

### Promoting healthy conversations

People with write permissions for a repository can help surface important conversations by pinning discussions, deleting discussions that are no longer useful or are damaging to the community, and transferring discussions to more relevant repositories owned by the organization. For more information, see "[Managing discussions in your repository](/discussions/managing-discussions-for-your-community/managing-discussions-in-your-repository)."

People with triage permissions for a repository can help moderate a project's discussions by marking comments as answers, locking discussions that are not longer useful or are damaging to the community, and converting issues to discussions when an idea is still in the early stages of development. For more information, see "[Moderating discussions](/discussions/managing-discussions-for-your-community/moderating-discussions)."
People with triage permissions for a repository can help moderate a project's discussions by marking comments as answers, locking discussions that are no longer useful or are damaging to the community, and converting issues to discussions when an idea is still in the early stages of development. For more information, see "[Moderating discussions](/discussions/managing-discussions-for-your-community/moderating-discussions)."

### Next steps

Expand Down
Loading