We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e105e commit b148f48Copy full SHA for b148f48
.github/workflows/link-checker-pr.yml
@@ -0,0 +1,29 @@
1
+name: Check Links
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - link_checker # TODO: change to main to after testing
7
+ workflow_dispatch:
8
9
+jobs:
10
+ linkChecker:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v5
14
15
+ - name: Link Checker
16
+ id: lychee
17
+ uses: lycheeverse/lychee-action@v2
18
+ 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/
27
+ env:
28
+ # avoid 429 errors (too many requests) on github.com api requests
29
+ GITHUB_TOKEN: ${{secrets.TOKEN_GITHUB}}
0 commit comments