File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Check Markdown links
22on :
3- schedule :
4- - cron : " * */24 * * *"
53 push :
64 branches : [ live ]
7-
5+ schedule :
6+ - cron : ' 0 8 * * 1'
7+ workflow_dispatch :
88jobs :
9- markdown-link-check :
9+ links :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+
15+ - name : Run markdown link checker action
16+ id : link_check
17+ uses : academic/link-checker@v1
1318 with :
14- fetch-depth : 1
15- - uses : gaurav-nelson/github-action-markdown-link-check@v1
19+ report-file : link-check-results.md
20+ fail-on-issue : " true"
21+
22+ - name : Upload report artifact
23+ if : always()
24+ uses : actions/upload-artifact@v4
1625 with :
17- use-quiet-mode : " yes"
18- use-verbose-mode : " yes"
19- config-file : ' ./mlc_config.json'
26+ name : markdown-link-check-report
27+ path : ${{ steps.link_check.outputs.report-file }}
You can’t perform that action at this time.
0 commit comments