Skip to content

Commit 76e2503

Browse files
authored
Merge branch 'main' into patch-10
2 parents 457e266 + 2258e2a commit 76e2503

File tree

218 files changed

+2606
-2047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+2606
-2047
lines changed

.all-contributorsrc

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,70 @@
294294
"contributions": [
295295
"doc"
296296
]
297+
},
298+
{
299+
"login": "jeffmcaffer",
300+
"name": "Jeff McAffer",
301+
"avatar_url": "https://avatars2.githubusercontent.com/u/10070956?v=4",
302+
"profile": "https://mcaffer.com",
303+
"contributions": [
304+
"doc"
305+
]
306+
},
307+
{
308+
"login": "tjenkinson",
309+
"name": "Tom Jenkinson",
310+
"avatar_url": "https://avatars0.githubusercontent.com/u/3259993?v=4",
311+
"profile": "https://tjenkinson.me",
312+
"contributions": [
313+
"code"
314+
]
315+
},
316+
{
317+
"login": "casals",
318+
"name": "Arthur Casals",
319+
"avatar_url": "https://avatars0.githubusercontent.com/u/785860?v=4",
320+
"profile": "https://github.com/casals",
321+
"contributions": [
322+
"content",
323+
"doc"
324+
]
325+
},
326+
{
327+
"login": "Simran-B",
328+
"name": "Simran",
329+
"avatar_url": "https://avatars3.githubusercontent.com/u/7819991?v=4",
330+
"profile": "https://www.arangodb.com/",
331+
"contributions": [
332+
"doc"
333+
]
334+
},
335+
{
336+
"login": "Ruth",
337+
"name": "Ruth",
338+
"avatar_url": "https://avatars0.githubusercontent.com/u/85029?v=4",
339+
"profile": "https://github.com/ruth",
340+
"contributions": [
341+
"content"
342+
]
343+
},
344+
{
345+
"login": "wi5nia",
346+
"name": "Tomasz Wisniewski",
347+
"avatar_url": "https://avatars2.githubusercontent.com/u/12593852?v=4",
348+
"profile": "http://tomaszwisniewski.com",
349+
"contributions": [
350+
"doc"
351+
]
352+
},
353+
{
354+
"login": "chiedo",
355+
"name": "Chiedo John",
356+
"avatar_url": "https://avatars2.githubusercontent.com/u/2156688?v=4",
357+
"profile": "https://chiedojohn.com/",
358+
"contributions": [
359+
"code"
360+
]
297361
}
298362
],
299363
"contributorsPerLine": 7,

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ package-lock.json @github/docs-engineering
1414
package.json @github/docs-engineering
1515

1616
/content/github/site-policy/ @github/site-policy-admins
17+
18+
# Make sure that Octokit maintainers get notified about changes
19+
# relevant to the Octokit libraries (https://github.com/octokit)
20+
/content/rest/reference @github/octokit-maintainers

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<!--
2-
HUBBERS BEWARE! THE GITHUB/DOCS REPO IS PUBLIC TO THE ENTIRE INTERNET. OPEN AN ISSUE IN GITHUB/DOCS-CONTENT https://github.com/github/docs-content/issues/new/choose INSTEAD.
3-
-->
4-
5-
<!--
6-
Hello! Thanks for your interest in contributing to this project.
2+
Thank you for contributing to this project! You must fill out the information below before we can review this pull request. By explaining why you're making a change (or linking to a pull request) and what changes you've made, we can triage your pull request to the best possible team for review.
73
8-
Before opening a PR, please see our [CONTRIBUTING.md](https://github.com/github/docs/blob/main/CONTRIBUTING.md) for information how to contribute.
4+
See our [CONTRIBUTING.md](/main/CONTRIBUTING.md) for information how to contribute.
95
106
For changes to content in [site policy](https://github.com/github/docs/tree/main/content/github/site-policy), see the [CONTRIBUTING guide in the site-policy repo](https://github.com/github/site-policy/blob/main/CONTRIBUTING.md).
117
12-
Thanks again! :octocat:
8+
We cannot accept changes to our translated content right now. See the [contributing.md](/main/CONTRIBUTING.md#earth_asia-translations) for more information.
9+
10+
Thanks again!
1311
-->
1412

1513
### Why:

.github/allowed-actions.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ module.exports = [
88
'actions/cache@v2',
99
'actions/checkout@v2',
1010
'actions/github-script@0.9.0',
11+
'actions/github-script@v2.0.0',
1112
'actions/github-script@v2',
1213
'actions/github-script@v3',
1314
'actions/labeler@v2',
1415
'actions/setup-node@v1',
1516
'actions/setup-ruby@v1',
1617
'actions/stale@v3',
18+
'crowdin/github-action@1.0.10',
1719
'dawidd6/action-delete-branch@v3',
1820
'docker://chinthakagodawita/autoupdate-action:v1',
1921
'github/codeql-action/analyze@v1',
@@ -22,11 +24,14 @@ module.exports = [
2224
'juliangruber/approve-pull-request-action@v1',
2325
'juliangruber/find-pull-request-action@v1',
2426
'juliangruber/read-file-action@v1',
25-
'pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a',
27+
'pascalgn/automerge-action@c9bd182',
2628
'peter-evans/create-issue-from-file@v2',
2729
'peter-evans/create-pull-request@v2',
30+
'rachmari/actions-add-new-issue-to-column@v1.1.1',
31+
'rachmari/labeler@v1.0.4',
2832
'repo-sync/github-sync@v2',
2933
'repo-sync/pull-request@v2',
3034
'rtCamp/action-slack-notify@master',
31-
'rtCamp/action-slack-notify@v2.1.0'
32-
]
35+
'rtCamp/action-slack-notify@v2.1.0',
36+
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0'
37+
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto Merge Dependency Updates
2+
3+
on:
4+
- pull_request
5+
- pull_request_review
6+
7+
jobs:
8+
run:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0
12+
with:
13+
repo-token: ${{ secrets.GITHUB_TOKEN }}
14+
allowed-actors: dependabot[bot]

.github/workflows/automerge.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@ on:
2020
jobs:
2121
automerge:
2222
runs-on: ubuntu-latest
23-
if: contains(github.event.pull_request.labels.*.name, 'automerge')
23+
if: contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')
2424
steps:
2525
- name: automerge
26-
uses: "pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a"
26+
uses: "pascalgn/automerge-action@c9bd182"
2727
env:
2828
GITHUB_TOKEN: "${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}"
29-
MERGE_LABELS: "automerge"
30-
MERGE_REMOVE_LABELS: ""
29+
MERGE_METHOD_LABELS: "automerge=merge,autosquash=squash"
3130
MERGE_COMMIT_MESSAGE: "pull-request-title"
3231
MERGE_METHOD: "merge"
3332
MERGE_FORKS: "true"
3433
MERGE_RETRIES: "50"
35-
MERGE_RETRY_SLEEP: "10000"
36-
UPDATE_LABELS: "automerge"
34+
MERGE_RETRY_SLEEP: "10000" # ten seconds
35+
UPDATE_LABELS: "automerge,autosquash"
3736
UPDATE_METHOD: "merge"

.github/workflows/autosquash.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/crowdin.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Please ping @github/docs-localization in the PR whenever you update this file!
2+
3+
name: Crowdin Sync
4+
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
sync_with_crowdin:
13+
name: Sync with Crowdin
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Sync
20+
uses: crowdin/github-action@1.0.10
21+
with:
22+
upload_translations: true
23+
download_translations: true
24+
create_pull_request: true
25+
26+
# Using a custom config temporarily to avoid clobbering the existing crowdin.yml
27+
# that is used by the github-help-docs OAuth integration.
28+
config: 'crowdin-actions-config.yml'
29+
30+
# This is the name of the git branch that Crowdin will create when opening a pull request.
31+
# This branch does NOT need to be manually created. It will be created automatically by the action.
32+
localization_branch_name: automated-crowdin-translations
33+
34+
# This is the name of the top-level directory that Crowdin will use for files.
35+
# Note that this is not a "branch" in the git sense, but more like a top-level directory in your Crowdin project.
36+
# This branch does NOT need to be manually created. It will be created automatically by the action.
37+
crowdin_branch_name: crowdin-main
38+
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
42+
# This is a numeric id, not to be confused with Crowdin API v1 "project identifier" string
43+
# See "API v2" on https://crowdin.com/project/<your-project>/settings#api
44+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
45+
46+
# A personal access token, not to be confused with Crowdin API v1 "API key"
47+
# See https://crowdin.com/settings#api-key to generate a token
48+
# This token was created by logging into Crowdin with the octoglot user
49+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
50+
51+

.github/workflows/merged-notification.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ jobs:
1313
github.issues.createComment({
1414
...context.repo,
1515
issue_number: context.payload.pull_request.number,
16-
body: `Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. To add your ✨ contribution to the README.md, create a new comment in this PR with:
17-
18-
\`\`\`
19-
@all-contributors please add @${context.payload.pull_request.user.login} for docs
20-
\`\`\`
21-
22-
If you want to, you can use the [emoji key](https://allcontributors.org/docs/en/emoji-key) to replace docs with a different contribution type.`
16+
body: `Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours.
17+
18+
If you haven't already, you can add yourself to [the list of contributors](https://github.com/github/docs#contributors-) by creating a new comment in this PR using [these instructions](https://allcontributors.org/docs/en/bot/usage#commands). Thanks again! :sparkles:`
2319
})

.github/workflows/start-new-engineering-pr-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
jobs:
88
triage:
9-
if: github.repository == 'github/docs-internal'
109
runs-on: ubuntu-latest
1110
continue-on-error: true
1211
env:
@@ -15,6 +14,7 @@ jobs:
1514
steps:
1615
- name:
1716
uses: actions/github-script@v2
17+
continue-on-error: true
1818
with:
1919
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
2020
script: |

.github/workflows/test-windows.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: Node.js Tests - Windows
44

55
on:
6+
workflow_dispatch:
67
schedule:
78
- cron: "50 19 * * *" # once a day at 19:50 UTC / 11:50 PST
89

@@ -11,7 +12,6 @@ env:
1112

1213
jobs:
1314
lint:
14-
if: github.repository == 'github/docs-internal'
1515
runs-on: windows-latest
1616
steps:
1717
- name: Check out repo
@@ -45,7 +45,6 @@ jobs:
4545
run: npm run check-deps
4646

4747
test:
48-
if: github.repository == 'github/docs-internal'
4948
runs-on: windows-latest
5049
strategy:
5150
fail-fast: false

CONTRIBUTING.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Fork using the command line:
3232
### Make your update:
3333
Make your changes to the file(s) you'd like to update. Here are some tips and tricks for [using the docs codebase](#working-in-the-githubdocs-repository).
3434
- Are you making changes to the application code? You'll need **Node.js v14** to run the site locally. See [contributing/development.md](contributing/development.md).
35-
- Are you contributing to markdown? We use [GitHub Markdown](contributing/content-markup-reference).
35+
- Are you contributing to markdown? We use [GitHub Markdown](contributing/content-markup-reference.md).
3636

3737
### Open a pull request
3838
When you're done making changes and you'd like to propose them for review, use the [pull request template](#pull-request-template) to open your PR (pull request).
@@ -63,15 +63,7 @@ Now that you're a part of the GitHub Docs community, you can keep participating
6363
- [Starting with an issue](#starting-with-an-issue)
6464
- [Labels](#labels)
6565
- [Opening a pull request](#opening-a-pull-request)
66-
- [Fork using GitHub Desktop](#fork-using-github-desktop)
67-
- [Fork using the command line](#fork-using-the-command-line)
6866
- [Working in the github/docs repository](#working-in-the-githubdocs-repository)
69-
- [Resolving merge conflicts](#resolving-merge-conflicts)
70-
- [In the GitHub user interface](#in-the-github-user-interface)
71-
- [Editing the file and committing the changes](#editing-the-file-and-committing-the-changes)
72-
- [Troubleshooting](#troubleshooting)
73-
- [Failed status checks](#failed-status-checks)
74-
- [Draft pull requests](#draft-pull-requests)
7567
- [Reviewing](#reviewing)
7668
- [Self review](#self-review)
7769
- [Pull request template](#pull-request-template)
@@ -156,7 +148,7 @@ You should always review your own PR first.
156148
For content changes, make sure that you:
157149
- [ ] Confirm that the changes address every part of the content strategy plan from your issue (if there are differences, explain them).
158150
- [ ] Review the content for technical accuracy.
159-
- [ ] Review the entire pull request using the [localization checklist](contribution/localization-checklist.md).
151+
- [ ] Review the entire pull request using the [localization checklist](contributing/localization-checklist.md).
160152
- [ ] Copy-edit the changes for grammar, spelling, and adherence to the style guide.
161153
- [ ] Check new or updated Liquid statements to confirm that versioning is correct.
162154
- [ ] Check that all of your changes render correctly in staging. Remember, that lists and tables can be tricky.

0 commit comments

Comments
 (0)