Skip to content

Commit b75306e

Browse files
authored
Merge branch 'main' into hubwriter/max-idle-timeout
2 parents 65bf001 + 8a83f9c commit b75306e

File tree

3,143 files changed

+49553
-35691
lines changed

Some content is hidden

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

3,143 files changed

+49553
-35691
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
babelOptions: { configFile: './.babelrc' },
1414
sourceType: 'module',
1515
},
16-
ignorePatterns: ['tmp/*', '!/.*', '/.next/'],
16+
ignorePatterns: ['tmp/*', '!/.*', '/.next/', 'script/bookmarklets/*'],
1717
rules: {
1818
'import/no-extraneous-dependencies': ['error', { packageDir: '.' }],
1919
},

.github/workflows/autoupdate-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
steps:
4242
- name: Check out repo content
43-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
43+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
4444

4545
- name: Setup Node
4646
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ jobs:
7979

8080
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
8181
name: Check out main branch
82-
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
82+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
8383
with:
8484
ref: 'main'
8585
persist-credentials: 'false'
8686
lfs: 'true'
8787

8888
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
8989
name: Check out PR code
90-
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
90+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
9191
with:
9292
ref: ${{ env.COMMIT_REF }}
9393
# To prevent issues with cloning early access content later
@@ -139,7 +139,7 @@ jobs:
139139
140140
- if: ${{ env.IS_INTERNAL_BUILD == 'true' }}
141141
name: Clone docs-early-access
142-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
142+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
143143
with:
144144
repository: github/docs-early-access
145145
token: ${{ secrets.DOCUBOT_REPO_PAT }}
@@ -152,7 +152,7 @@ jobs:
152152

153153
- if: ${{ env.IS_PUBLIC_BUILD == 'true' }}
154154
name: Check out user code to temp directory
155-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
155+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
156156
with:
157157
path: ./user-code
158158
ref: ${{ env.COMMIT_REF }}

.github/workflows/azure-preview-env-destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
creds: ${{ secrets.NONPROD_AZURE_CREDENTIALS }}
4040

4141
- name: Check out repo
42-
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97
42+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
4343

4444
- name: Get preview app info
4545
env:

.github/workflows/azure-prod-build-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: docker/setup-buildx-action@94ab11c41e45d028884a99163086648e898eed25
5050

5151
- name: Check out repo
52-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
52+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
5353
with:
5454
ref: ${{ github.sha }}
5555
# To prevent issues with cloning early access content later
@@ -66,7 +66,7 @@ jobs:
6666
cache: npm
6767

6868
- name: Clone docs-early-access
69-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
69+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
7070
with:
7171
repository: github/docs-early-access
7272
token: ${{ secrets.DOCUBOT_REPO_PAT }}

.github/workflows/browser-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
35+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
3636
with:
3737
lfs: true
3838

@@ -54,7 +54,7 @@ jobs:
5454
run: npm ci --include=optional
5555

5656
- name: Cache nextjs build
57-
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
57+
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
5858
with:
5959
path: .next/cache
6060
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}

.github/workflows/check-all-english-links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
REPORT_REPOSITORY: github/docs-content
2727
steps:
2828
- name: Check out repo's default branch
29-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
29+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
3030
- name: Setup Node
3131
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
3232
with:
@@ -35,7 +35,7 @@ jobs:
3535
- name: npm ci
3636
run: npm ci
3737
- name: Cache nextjs build
38-
uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed
38+
uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09
3939
with:
4040
path: .next/cache
4141
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}

.github/workflows/check-broken-links-github-github.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
exit 1 # prevents further steps from running
4040
4141
- name: Checkout
42-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
42+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
4343

4444
- name: Setup Node
4545
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
@@ -50,9 +50,20 @@ jobs:
5050
- name: Install Node.js dependencies
5151
run: npm ci
5252

53-
- name: Run broken github/github link check
53+
- name: Build server
54+
run: npm run build
55+
56+
- name: Start server in the background
5457
env:
55-
WAF_TOKEN: ${{ secrets.WAF_TOKEN }}
58+
NODE_ENV: production
59+
PORT: 4000
60+
run: |
61+
62+
node server.mjs &
63+
sleep 5
64+
curl --retry-connrefused --retry 3 -I http://localhost:4000/
65+
66+
- name: Run broken github/github link check
5667
run: |
5768
script/check-github-github-links.js > broken_github_github_links.md
5869

.github/workflows/code-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
steps:
3636
- name: Check out repo
37-
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
37+
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
3838

3939
- name: Setup node
4040
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: github.repository == 'github/docs-internal' || github.repository == 'github/docs'
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
33+
- uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
3434
- uses: github/codeql-action/init@1ed1437484560351c5be56cf73a48a279d116b78
3535
with:
3636
languages: javascript # comma separated list of values from {go, python, javascript, java, cpp, csharp} (not YET ruby, sorry!)

0 commit comments

Comments
 (0)