File tree 1 file changed +17
-4
lines changed
1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,27 @@ jobs:
22
22
23
23
# check URLs with Lychee
24
24
- uses : actions/checkout@v3
25
- - name : Lychee URL checker
25
+
26
26
# use stable version for now to avoid breaking changes
27
+ - name : Lychee URL checker
27
28
uses : lycheeverse/lychee-action@v1.6.1
28
29
with :
30
+ # arguments with file types to check
31
+ args : >-
32
+ --cache
33
+ --no-progress
34
+ --max-cache-age 2d
35
+ --timeout 10
36
+ --max-retries 5
37
+ --skip-missing
38
+ --accept 200,429
39
+ --exclude-path ./CHANGELOG.md
40
+ './**/*.rst'
41
+ './**/*.md'
42
+ './**/*.py'
43
+ './**/*.ipynb'
29
44
# fail the action on broken links
30
45
fail : true
31
46
env :
32
- # to be used in case rate limits are surpassed
47
+ # to be used in case rate limits are surpassed
33
48
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
34
- # arguments with file types to check
35
- args : --no-progress --cache --max-cache-age 2d './**/*.rst' './**/*.md' './**/*.py' './**/*.ipynb' --timeout 10 --max-retries 5 --skip-missing --exclude-path ./CHANGELOG.md --accept [200,429]
You can’t perform that action at this time.
0 commit comments