Skip to content

Commit 8f25ad7

Browse files
author
Martin Lopes
authored
Merge branch 'main' into patch-1
2 parents 4a73969 + 72a069d commit 8f25ad7

5,822 files changed

Lines changed: 712104 additions & 28140 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/improve-the-site.md

Lines changed: 1 addition & 1 deletion

.github/allowed-actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ module.exports = [
1313
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13
1414
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
1515
'crykn/copy_folder_to_another_repo_action@abc264e1c16eb3d7b1f7763bfdb0e1699ad43120',
16+
'cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576',
1617
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911',
1718
'docker://chinthakagodawita/autoupdate-action:v1',
1819
'fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289',
1920
'github/codeql-action/analyze@v1',
2021
'github/codeql-action/init@v1',
2122
'ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb',
2223
'juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8',
23-
'juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b',
24+
'juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9',
2425
'juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512',
2526
'lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8',
2627
'pascalgn/automerge-action@c9bd182',

.github/workflows/autoupdate-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
autoupdate:
88
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
99
name: autoupdate
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: docker://chinthakagodawita/autoupdate-action:v1
1313
env:

.github/workflows/codeql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: CodeQL analysis
22

33
on:
44
push:
5-
branches: main
5+
branches:
6+
- main
67
pull_request:
7-
branches: main
8+
branches:
9+
- main
810
paths:
911
- '**/*.js'
1012
- '.github/workflows/codeql.yml'

.github/workflows/repo-sync.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ jobs:
5858
github_token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
5959

6060
- name: Find pull request
61-
uses: juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b
61+
uses: juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9
6262
id: find-pull-request
6363
with:
6464
github-token: ${{ secrets.GITHUB_TOKEN }}
6565
branch: repo-sync
6666
base: main
67+
author: Octomerger
6768

6869
- name: Approve pull request
6970
if: ${{ steps.find-pull-request.outputs.number }}

.github/workflows/site-policy-sync.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- main
99
types:
1010
- closed
11+
paths:
12+
- 'content/github/site-policy/**'
1113

1214
# Allows you to run this workflow manually from the Actions tab
1315
workflow_dispatch:
@@ -33,8 +35,8 @@ jobs:
3335
with:
3436
source_folder: 'content/github/site-policy'
3537
destination_repo: 'github/site-policy'
36-
destination_branch: 'non-substantive-changes'
38+
destination_branch: 'repo-sync'
3739
destination_folder: 'Policies'
3840
user_email: 'pcihon@users.noreply.github.com'
3941
user_name: 'pcihon'
40-
commit_msg: 'Mirroring non-substantive changes.'
42+
commit_msg: 'Automatic sync from GitHub Docs.'

.github/workflows/test-windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ name: Node.js Tests - Windows
44

55
on:
66
workflow_dispatch:
7+
pull_request:
78
schedule:
89
- cron: '50 19 * * *' # once a day at 19:50 UTC / 11:50 PST
910

1011
jobs:
1112
test:
1213
runs-on: windows-latest
14+
if: (github.event_name != 'pull_request') || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'Windows') || contains(github.event.pull_request.labels.*.name, 'windows')))
1315
strategy:
1416
fail-fast: false
1517
matrix:

.github/workflows/translations.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ jobs:
1717
echo 'The repo is currently frozen! Exiting this workflow.'
1818
exit 1 # prevents further steps from running
1919
- name: Find original Pull Request
20-
uses: juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b
20+
uses: juliangruber/find-pull-request-action@2fc55e82a6d5d36fe1e7f1848f7e64fd02d99de9
2121
id: pr
2222
with:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}
2424
branch: translations
25+
base: main
26+
author: octoglot
2527
- if: ${{ steps.pr.outputs.number }}
2628
name: Check if already labeled
2729
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9

.github/workflows/triage-unallowed-contributions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ jobs:
104104
body: reviewMessage,
105105
event: 'REQUEST_CHANGES'
106106
})
107+
108+
core.setFailed("It looks like you've modified some files we don't accept contributions for. Please see the review with requested changes for details.")
107109
# When the most recent review was CHANGES_REQUESTED and the existing
108110
# PR no longer contains unallowed changes, dismiss the previous review
109111
- name: Dismiss pull request review
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Lint workflows
2+
3+
on:
4+
workflow_dispatch:
5+
# push:
6+
# branches:
7+
# - main
8+
# pull_request:
9+
# branches-ignore:
10+
# - translations
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out repo
17+
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
18+
19+
- name: Run linter
20+
uses: cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576
21+
with:
22+
workflows: '[".github/workflows/*.yml"]'

0 commit comments

Comments
 (0)