Skip to content

Commit c7af97a

Browse files
authored
Merge branch 'main' into patch-1
2 parents 02fe80a + 092b1e0 commit c7af97a

5,780 files changed

Lines changed: 741426 additions & 60334 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: 3 additions & 2 deletions
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',
@@ -32,7 +33,7 @@ module.exports = [
3233
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88',
3334
'repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d',
3435
'someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd',
35-
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0',
36+
'tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61',
3637
'EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575',
3738
'dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58'
3839
]

.github/workflows/60-days-stale-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55

66
jobs:
77
stale:
8+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4

.github/workflows/automerge-dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ on:
1414

1515
jobs:
1616
run:
17+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1718
runs-on: ubuntu-latest
1819
steps:
19-
- uses: tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0
20+
- uses: tjenkinson/gh-action-auto-merge-dependency-updates@4d7756c04d9d999c5968697a621b81c47f533d61
2021
with:
2122
repo-token: ${{ secrets.GITHUB_TOKEN }}
2223
allowed-actors: dependabot[bot]

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
jobs:
2121
automerge:
2222
runs-on: ubuntu-latest
23-
if: contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')
23+
if: (contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')) && (github.repository == 'github/docs-internal' || github.repository == 'github/docs')
2424
steps:
2525
- name: automerge
2626
uses: 'pascalgn/automerge-action@c9bd182'

.github/workflows/autoupdate-branch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ on:
55
- main
66
jobs:
77
autoupdate:
8+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
89
name: autoupdate
9-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-latest
1011
steps:
1112
- uses: docker://chinthakagodawita/autoupdate-action:v1
1213
env:

.github/workflows/codeql.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@ 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'
1113

1214
jobs:
1315
build:
16+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1417
runs-on: ubuntu-latest
15-
1618
steps:
1719
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
1820
- uses: github/codeql-action/init@v1

.github/workflows/dry-run-sync-algolia-search-indices.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2222
restore-keys: |
2323
${{ runner.os }}-node-
24-
- name: npm ci
24+
- name: Install dependencies
2525
run: npm ci
26+
- name: Run build scripts
27+
run: npm run build
2628
- name: (Dry run) sync indices
2729
env:
2830
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}

.github/workflows/pa11y.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- cron: '25 17 * * *' # once a day at 17:25 UTC / 11:50 PST
66
jobs:
77
test:
8+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Check out repo

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616

1717
jobs:
1818
check-freezer:
19+
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
1920
name: Prevent merging during deployment freezes
2021
runs-on: ubuntu-latest
2122
steps:

0 commit comments

Comments
 (0)