Skip to content

Commit 7214048

Browse files
author
Federico Builes
authored
Merge branch 'main' into mchammer01/dependency-review-action-config
2 parents 3067418 + 4f2a364 commit 7214048

File tree

615 files changed

+198307
-10456
lines changed

Some content is hidden

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

615 files changed

+198307
-10456
lines changed

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

Lines changed: 5 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
@@ -58,9 +58,6 @@ jobs:
5858
REQUEST_TIMEOUT: 20000
5959
# Don't care about CDN caching image URLs
6060
DISABLE_REWRITE_ASSET_URLS: true
61-
# The default is 300 which works OK on a fast macbook pro
62-
# but so well in Actions.
63-
LINKINATOR_CONCURRENCY: 100
6461
run: |
6562
node server.mjs > /tmp/stdout.log 2> /tmp/stderr.log &
6663
sleep 5
@@ -75,6 +72,10 @@ jobs:
7572
cat /tmp/stderr.log
7673
7774
- 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
7879
run: |
7980
script/check-english-links.js > broken_links.md
8081
@@ -86,11 +87,6 @@ jobs:
8687
#
8788
# https://docs.github.com/actions/reference/context-and-expression-syntax-for-github-actions#job-status-check-functions
8889

89-
- if: ${{ failure() }}
90-
name: Debug broken_links.md
91-
run: |
92-
ls -lh broken_links.md
93-
wc -l broken_links.md
9490
- uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
9591
if: ${{ failure() }}
9692
with:
17.2 KB
Loading
129 KB
Loading
127 KB
Loading
157 KB
Loading
28.8 KB
Loading
62.3 KB
Loading
124 KB
Loading

0 commit comments

Comments
 (0)