Skip to content

Commit 9c4b3c8

Browse files
authored
Merge branch 'main' into copilot-ga-megabranch
2 parents c8951c2 + dfecc8c commit 9c4b3c8

File tree

612 files changed

+4887
-1766
lines changed

Some content is hidden

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

612 files changed

+4887
-1766
lines changed

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
check_all_english_links:
1818
name: Check all links
1919
if: github.repository == 'github/docs-internal'
20-
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
20+
runs-on: self-hosted
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
2323
FIRST_RESPONDER_PROJECT: Docs content first responder
@@ -56,9 +56,8 @@ jobs:
5656
# The default is 10s. But because this runs overnight, we can
5757
# be a lot more patient.
5858
REQUEST_TIMEOUT: 20000
59-
# The default is 300 which works OK on a fast macbook pro
60-
# but so well in Actions.
61-
LINKINATOR_CONCURRENCY: 100
59+
# Don't care about CDN caching image URLs
60+
DISABLE_REWRITE_ASSET_URLS: true
6261
run: |
6362
node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log &
6463
sleep 5
@@ -73,6 +72,10 @@ jobs:
7372
cat /tmp/stderr.log
7473
7574
- name: Run script
75+
env:
76+
# The default is 300 which works OK on a fast macbook pro
77+
# but not so well in Actions.
78+
LINKINATOR_CONCURRENCY: 100
7679
run: |
7780
script/check-english-links.js > broken_links.md
7881
@@ -84,11 +87,6 @@ jobs:
8487
#
8588
# https://docs.github.com/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
8689

87-
- if: ${{ failure() }}
88-
name: Debug broken_links.md
89-
run: |
90-
ls -lh broken_links.md
91-
wc -l broken_links.md
9290
- uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
9391
if: ${{ failure() }}
9492
with:

.github/workflows/link-check-all.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ jobs:
4949
run: cat $HOME/files.json
5050

5151
- name: Link check (warnings, changed files)
52+
env:
53+
# Don't care about CDN caching image URLs
54+
DISABLE_REWRITE_ASSET_URLS: true
5255
run: |
5356
./script/rendered-content-link-checker.mjs \
5457
--language en \
@@ -59,6 +62,9 @@ jobs:
5962
--list $HOME/files.json
6063
6164
- name: Link check (critical, all files)
65+
env:
66+
# Don't care about CDN caching image URLs
67+
DISABLE_REWRITE_ASSET_URLS: true
6268
run: |
6369
./script/rendered-content-link-checker.mjs \
6470
--language en \
17.2 KB
Loading
129 KB
Loading
127 KB
Loading
157 KB
Loading
28.8 KB
Loading
62.3 KB
Loading

0 commit comments

Comments
 (0)