File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change 1- name : Check Links
1+ name : Check Links in PRs
22
33on :
4- push :
5- branches :
6- - link_checker # TODO: change to main to after testing
4+ pull_request :
5+ paths : ['**.md']
76 workflow_dispatch :
87
98jobs :
@@ -16,14 +15,11 @@ jobs:
1615 id : lychee
1716 uses : lycheeverse/lychee-action@v2
1817 with :
19- fail : false
20- # args to check source files without building
21- # './**/*.md' './**/*.html' './**/*.rst'
22- args : >
23- ./_site/**/*.html
24- --max-concurrency 1 --no-progress
25- --accept '100..=103,200..=399, 429'
26- --exclude https://doi.org/
18+ fail : true
19+ args : |
20+ './**/*.md'
21+ --max-concurrency 1
22+ --no-progress
2723 env :
2824 # avoid 429 errors (too many requests) on github.com api requests
2925 GITHUB_TOKEN : ${{secrets.TOKEN_GITHUB}}
You can’t perform that action at this time.
0 commit comments