Skip to content

Commit ab4bf16

Browse files
authored
Merge branch 'main' into patch-14
2 parents b3e0c5d + 0cc0712 commit ab4bf16

File tree

162 files changed

+1827
-1168
lines changed

Some content is hidden

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

162 files changed

+1827
-1168
lines changed

.all-contributorsrc

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,68 @@
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+
]
332+
},
333+
{
334+
"login": "Ruth",
335+
"name": "Ruth",
336+
"avatar_url": "https://avatars0.githubusercontent.com/u/85029?v=4",
337+
"profile": "https://github.com/ruth",
338+
"contributions": [
339+
"content"
340+
]
341+
},
342+
{
343+
"login": "wi5nia",
344+
"name": "Tomasz Wisniewski",
345+
"avatar_url": "https://avatars2.githubusercontent.com/u/12593852?v=4",
346+
"profile": "http://tomaszwisniewski.com",
347+
"contributions": [
348+
"doc"
349+
]
350+
},
351+
{
352+
"login": "chiedo",
353+
"name": "Chiedo John",
354+
"avatar_url": "https://avatars2.githubusercontent.com/u/2156688?v=4",
355+
"profile": "https://chiedojohn.com/",
356+
"contributions": [
357+
"code"
358+
]
297359
}
298360
],
299361
"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/allowed-actions.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ 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',
@@ -22,11 +23,14 @@ module.exports = [
2223
'juliangruber/approve-pull-request-action@v1',
2324
'juliangruber/find-pull-request-action@v1',
2425
'juliangruber/read-file-action@v1',
25-
'pascalgn/automerge-action@135f0bdb927d9807b5446f7ca9ecc2c51de03c4a',
26+
'pascalgn/automerge-action@c9bd182',
2627
'peter-evans/create-issue-from-file@v2',
2728
'peter-evans/create-pull-request@v2',
29+
'rachmari/actions-add-new-issue-to-column@v1.1.1',
30+
'rachmari/labeler@v1.0.4',
2831
'repo-sync/github-sync@v2',
2932
'repo-sync/pull-request@v2',
3033
'rtCamp/action-slack-notify@master',
31-
'rtCamp/action-slack-notify@v2.1.0'
32-
]
34+
'rtCamp/action-slack-notify@v2.1.0',
35+
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0'
36+
]
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/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 & 4 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,8 +63,6 @@ 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)
6967
- [Resolving merge conflicts](#resolving-merge-conflicts)
7068
- [In the GitHub user interface](#in-the-github-user-interface)
@@ -156,7 +154,7 @@ You should always review your own PR first.
156154
For content changes, make sure that you:
157155
- [ ] Confirm that the changes address every part of the content strategy plan from your issue (if there are differences, explain them).
158156
- [ ] Review the content for technical accuracy.
159-
- [ ] Review the entire pull request using the [localization checklist](contribution/localization-checklist.md).
157+
- [ ] Review the entire pull request using the [localization checklist](contributing/localization-checklist.md).
160158
- [ ] Copy-edit the changes for grammar, spelling, and adherence to the style guide.
161159
- [ ] Check new or updated Liquid statements to confirm that versioning is correct.
162160
- [ ] Check that all of your changes render correctly in staging. Remember, that lists and tables can be tricky.

0 commit comments

Comments
 (0)