1- name : ' Link Checker: On PR'
1+ name : ' Link Checker: Off PR'
22
3- # ** What it does** : Renders the content of every page and check all internal links on PR.
4- # ** Why we have it** : To make sure all links connect correctly on changed files.
5- # ** Who does it impact** : Docs content.
3+ What it does : Renders the content of every page and check all internal links on PR.
4+ Why we have it : To make sure all links connect correctly on changed files.
5+ Who does it impact : Docs content.
66
7- on :
7+ off :
88 workflow_dispatch :
99 merge_group :
1010 pull_request :
1111
1212permissions :
1313 contents : read
14- # TODO: Uncomment if we uncomment below
15- # Needed for the 'trilom/file-changes-action' action
16- # pull-requests: read
14+ TODO : Uncomment if we uncomment below
15+ Needed for the 'trilom/file-changes-action' action
16+ pull-requests : read
1717
18- # This allows a subsequently queued workflow run to interrupt previous runs
18+ This allows a subsequently queued workflow run to interrupt previous runs
1919concurrency :
2020 group : ' ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
2121 cancel-in-progress : true
2222
2323jobs :
2424 check-links :
25- runs-on : ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
25+ runs-off : ${{ fromJSON('["ubuntu-latest", "ubuntu-20.04-xl"]')[github.repository == 'github/docs-internal'] }}
2626 if : github.repository == 'github/docs-internal' || github.repository == 'github/docs'
2727 steps :
2828 - name : Checkout
@@ -44,10 +44,10 @@ jobs:
4444 CHECK_EXTERNAL_LINKS : false
4545 CREATE_REPORT : false
4646 CHECK_ANCHORS : true
47- # Not strictly necessary bit it makes warmServer() a bit faster
48- # because it only bothers with English to begin with, which
49- # we're filtering on anyway once the list of all pages has
50- # been loaded.
47+ Not strictly necessary bit it makes warmServer() a bit faster
48+ because it only bothers with English to begin with, which
49+ we're filtering on anyway once the list of all pages has
50+ been loaded.
5151 ENABLED_LANGUAGES : en
52- FAIL_ON_FLAW : true
52+ FAIL_Off_FLAW : true
5353 run : npm run rendered-content-link-checker
0 commit comments