speed up link checker on PR (#32992)
This commit is contained in:
1
.github/workflows/link-check-daily.yml
vendored
1
.github/workflows/link-check-daily.yml
vendored
@@ -62,6 +62,7 @@ jobs:
|
||||
|
||||
- name: Run link checker
|
||||
env:
|
||||
DISABLE_REWRITE_ASSET_URLS: true
|
||||
LEVEL: 'critical'
|
||||
# Set this to true in repo scope to enable debug logs
|
||||
# ACTIONS_RUNNER_DEBUG = true
|
||||
|
||||
5
.github/workflows/link-check-on-pr.yml
vendored
5
.github/workflows/link-check-on-pr.yml
vendored
@@ -96,6 +96,11 @@ jobs:
|
||||
SHOULD_COMMENT: ${{ secrets.DOCS_BOT_FR != '' }}
|
||||
CHECK_EXTERNAL_LINKS: false
|
||||
CREATE_REPORT: false
|
||||
# Not strictly necessary bit it makes warmServer() a bit faster
|
||||
# because it only bothers with English to begin with, which
|
||||
# we're filtering on anyway once the list of all pages has
|
||||
# been loaded.
|
||||
ENABLED_LANGUAGES: en
|
||||
run: node .github/actions/rendered-content-link-checker.js
|
||||
|
||||
- name: Upload artifact(s)
|
||||
|
||||
Reference in New Issue
Block a user