Skip to content

Commit e15d965

Browse files
authored
Merge branch 'main' into patch-1
2 parents 4bdaf64 + 1396aa0 commit e15d965

File tree

86 files changed

+22651
-2879
lines changed

Some content is hidden

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

86 files changed

+22651
-2879
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Status Update
3+
about: A brief status update.
4+
body:
5+
- type: dropdown
6+
attributes:
7+
name: Status
8+
options:
9+
- name: "GREEN \U0001F34F (All good, smooth sailing)"
10+
value: 'Status: GREEN'
11+
- name: "YELLOW \U0001F7E1 (On track, with hurdles to work through)"
12+
value: 'Status: YELLOW'
13+
- name: "RED \U0001F534 (BLOCKED)"
14+
value: 'Status: RED'
15+
- type: input
16+
attributes:
17+
name: Update Summary
18+
placeholder:
19+
Brief summary of the status and next steps. Any blockers should be
20+
called out specifically.
21+
inputType: longText
22+
- type: input
23+
attributes:
24+
name: 'Attribution'
25+
value: '_created with :heart: by typing_ `/status`'
26+
inputType: text

.github/allowed-actions.js

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,38 @@
44
// can be added it this list.
55

66
module.exports = [
7-
'actions/cache@0781355a23dac32fd3bac414512f4b903437991a', //actions/cache@v2.1.3
8-
'actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f', //actions/checkout@v2.3.4
9-
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9', //actions/script@v3.0.0
10-
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', //actions/labeler@v2.2.0
11-
'actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e', //actions/setup-node@v2.1.4
12-
'ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262', //ruby/setup-ruby@vv1.64.1
13-
'actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da', //actions/stale@v3.0.16
14-
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
15-
'crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c',
16-
'cschleiden/actions-linter@0ff16d6ac5103cca6c92e6cbc922b646baaea5be',
17-
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911',
18-
'docker://chinthakagodawita/autoupdate-action:v1',
19-
'fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289',
20-
'github/codeql-action/analyze@v1',
21-
'github/codeql-action/init@v1',
22-
'ianwalter/puppeteer-container@2466ba8ecf689ccf4e5dfadeff3ac2db227b2e17',
23-
'juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8',
24-
'juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9',
25-
'juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512',
26-
'lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8',
27-
'pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07', //pascalgn/automerge@0.12.0
28-
'peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326',
29-
'peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd',
30-
'peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43',
31-
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9',
32-
'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e',
33-
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88',
34-
'repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d',
35-
'someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd',
36-
'tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61',
37-
'EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575',
38-
'dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58'
39-
]
7+
"actions/cache@0781355a23dac32fd3bac414512f4b903437991a", //actions/cache@v2.1.3
8+
"actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f", //actions/checkout@v2.3.4
9+
"actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9", //actions/script@v3.0.0
10+
"actions/labeler@5f867a63be70efff62b767459b009290364495eb", //actions/labeler@v2.2.0
11+
"actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e", //actions/setup-node@v2.1.4
12+
"ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262", //ruby/setup-ruby@vv1.64.1
13+
"actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", //actions/stale@v3.0.16
14+
"archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94",
15+
"ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d",
16+
"crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688",
17+
"crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c",
18+
"cschleiden/actions-linter@0ff16d6ac5103cca6c92e6cbc922b646baaea5be",
19+
"dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911",
20+
"docker://chinthakagodawita/autoupdate-action:v1",
21+
"fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289",
22+
"github/codeql-action/analyze@v1",
23+
"github/codeql-action/init@v1",
24+
"ianwalter/puppeteer-container@2466ba8ecf689ccf4e5dfadeff3ac2db227b2e17",
25+
"juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8",
26+
"juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9",
27+
"juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512",
28+
"lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8",
29+
"pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07", //pascalgn/automerge@0.12.0
30+
"peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326",
31+
"peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd",
32+
"peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43",
33+
"rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9",
34+
"rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e",
35+
"repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88",
36+
"repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d",
37+
"someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd",
38+
"tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61",
39+
"EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575",
40+
"dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58",
41+
];
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Epic Status Update
2+
on:
3+
issue_comment:
4+
types: [created]
5+
jobs:
6+
post-status-updates-to-slack:
7+
runs-on: ubuntu-latest
8+
if: contains(github.event.comment.body, '_created with') && contains(github.event.comment.body, 'typing_ `/status`')
9+
steps:
10+
- name: Trim HTML comments
11+
id: trimmed
12+
uses: ashley-taylor/regex-property-action@93a24f845cd20790924208225cc72da8b4c6d46d
13+
with:
14+
value: ${{github.event.comment.body}}
15+
regex: '<!--(.*?)-->'
16+
replacement: ''
17+
- name: Send Slack notification
18+
uses: archive/github-actions-slack@d368c5a4ad757515a9344918f84c490b05777d94
19+
id: notify
20+
with:
21+
slack-channel: 'C01EEKVR0Q7'
22+
slack-bot-user-oauth-access-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
23+
slack-text: \n><${{ github.event.comment.html_url}}|*${{github.event.issue.title}}*>\nstatus update posted by ${{github.event.comment.user.login}}\n\n${{ steps.trimmed.outputs.value }}

.github/workflows/repo-freeze-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Repo Freeze Check
22

33
on:
4-
pull_request:
4+
workflow_dispatch:
5+
pull_request_target:
56
types:
67
- opened
78
- reopened
@@ -21,7 +22,7 @@ jobs:
2122
runs-on: ubuntu-latest
2223
steps:
2324
- name: Fail if repo merges are paused
24-
if: ${{ env.FREEZE == 'true' }}
25+
if: ${{ env.FREEZE == 'true' && github.ref != 'refs/heads/repo-sync' }}
2526
run: |
2627
echo 'Merges into the "main" branch on this repo are currently paused!'
2728
exit 1

.github/workflows/repo-sync-stalls.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,7 @@ on:
55
schedule:
66
- cron: '0 */2 * * *'
77

8-
env:
9-
FREEZE: ${{ secrets.FREEZE }}
10-
118
jobs:
12-
check-freezer:
13-
name: Check for deployment freezes
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Exit if repo is frozen
17-
if: ${{ env.FREEZE == 'true' }}
18-
run: |
19-
echo 'The repo is currently frozen! Exiting this workflow.'
20-
exit 1 # prevents further steps from running
21-
229
repo-sync-stalls:
2310
runs-on: ubuntu-latest
2411
steps:
@@ -60,7 +47,7 @@ jobs:
6047
})
6148
- name: Send Slack notification if workflow fails
6249
uses: someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd
63-
if: failure()
50+
if: ${{ failure() }}
6451
with:
6552
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
6653
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}

.github/workflows/repo-sync.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,10 @@ on:
1111
schedule:
1212
- cron: '*/15 * * * *' # every 15 minutes
1313

14-
env:
15-
FREEZE: ${{ secrets.FREEZE }}
16-
1714
jobs:
18-
check-freezer:
19-
name: Check for deployment freezes
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Exit if repo is frozen
23-
if: ${{ env.FREEZE == 'true' }}
24-
run: |
25-
echo 'The repo is currently frozen! Exiting this workflow.'
26-
exit 1 # prevents further steps from running
27-
2815
repo-sync:
2916
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
3017
name: Repo Sync
31-
needs: check-freezer
3218
runs-on: ubuntu-latest
3319
steps:
3420
- name: Check out repo

.github/workflows/triage-stale-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
days-before-pr-stale: 14
2929
days-before-pr-close: -1 # Never close
3030
remove-stale-when-updated: false
31+
operations-per-run: 100
3132
only-labels: 'waiting for review'
3233
# The hope is that by setting the stale-pr-label to the same label
3334
# as the label that the stale check looks for, this will result in
6.88 KB
Loading
16.3 KB
Loading

content/actions/hosting-your-own-runners/about-self-hosted-runners.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ For more information about installing and using self-hosted runners, see "[Addin
4949

5050
You can use any machine as a self-hosted runner as long at it meets these requirements:
5151

52-
* You can install and run the self-hosted runner application on the machine. For more information, see "[Supported operating systems for self-hosted runners](#supported-operating-systems-for-self-hosted-runners)."
52+
* You can install and run the self-hosted runner application on the machine. For more information, see "[Supported architectures and operating systems for self-hosted runners](#supported-architectures-and-operating-systems-for-self-hosted-runners)."
5353
* The machine can communicate with {% data variables.product.prodname_actions %}. For more information, see "[Communication between self-hosted runners and {% data variables.product.prodname_dotcom %}](#communication-between-self-hosted-runners-and-github)."
5454
* The machine has enough hardware resources for the type of workflows you plan to run. The self-hosted runner application itself only requires minimal resources.
5555
* If you want to run workflows that use Docker container actions or service containers, you must use a Linux machine and Docker must be installed.
@@ -120,6 +120,7 @@ You must ensure that the machine has the appropriate network access to communica
120120
github.com
121121
api.github.com
122122
*.actions.githubusercontent.com
123+
github-releases.githubusercontent.com
123124
codeload.github.com
124125
```
125126

0 commit comments

Comments
 (0)