Skip to content

Commit 319e83a

Browse files
authored
Merge branch 'main' into clarify-user-dormancy-docs
2 parents 9e5604d + 8e4f480 commit 319e83a

File tree

1,113 files changed

+210728
-17708
lines changed

Some content is hidden

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

1,113 files changed

+210728
-17708
lines changed

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ 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: ubuntu-20.04-xl
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
2323
FIRST_RESPONDER_PROJECT: Docs content first responder
2424
REPORT_AUTHOR: docubot
2525
REPORT_LABEL: broken link report
2626
REPORT_REPOSITORY: github/docs-content
2727
steps:
28+
- name: Check that gh CLI is installed
29+
run: gh --version
30+
2831
- name: Check out repo's default branch
2932
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
3033
- name: Setup Node
@@ -56,13 +59,12 @@ jobs:
5659
# The default is 10s. But because this runs overnight, we can
5760
# be a lot more patient.
5861
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
62+
# Don't care about CDN caching image URLs
63+
DISABLE_REWRITE_ASSET_URLS: true
6264
run: |
6365
node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log &
64-
sleep 5
65-
curl --retry-connrefused --retry 4 -I http://localhost:4000/
66+
sleep 6
67+
curl --retry-connrefused --retry 5 -I http://localhost:4000/
6668
6769
- if: ${{ failure() }}
6870
name: Debug server outputs on errors
@@ -73,6 +75,10 @@ jobs:
7375
cat /tmp/stderr.log
7476
7577
- name: Run script
78+
env:
79+
# The default is 300 which works OK on a fast macbook pro
80+
# but not so well in Actions.
81+
LINKINATOR_CONCURRENCY: 100
7682
run: |
7783
script/check-english-links.js > broken_links.md
7884
@@ -84,11 +90,6 @@ jobs:
8490
#
8591
# https://docs.github.com/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
8692

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

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424

2525
jobs:
2626
check-links:
27-
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
27+
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
@@ -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 \

.github/workflows/pa11y.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ concurrency:
2323

2424
jobs:
2525
test:
26-
# Run on self-hosted if the private repo or ubuntu-latest if the public repo
26+
# Run on ubuntu-20.04-xl if the private repo or ubuntu-latest if the public repo
2727
# See pull # 17442 in the private repo for context
28-
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
28+
runs-on: ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
2929
timeout-minutes: 60
3030
strategy:
3131
fail-fast: false

.pa11yci

Lines changed: 0 additions & 102 deletions
This file was deleted.
24.5 KB
22.9 KB
17.2 KB

0 commit comments

Comments
 (0)