File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- # This action checks for broken links
2- name : Check Links
1+ name : Check for broken links
32
43on :
54 push :
65 pull_request :
76 schedule :
8- - cron : " 00 00 * * *"
7+ # Runs weekly on Monday at 00:00
8+ - cron : " 0 0 * * 1"
99
1010jobs :
1111 linkChecker :
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v6
15-
16- - name : Restore lychee cache
17- uses : actions/cache@v5
18- with :
19- path : .lycheecache
20- key : cache-lychee-${{ github.sha }}
21- restore-keys : cache-lychee-
22-
2315 - name : 🔗 Check Links
2416 uses : lycheeverse/lychee-action@v2
2517 with :
26- jobSummary : true
27- args : --base-url "$(pwd)" --cache --max-cache-age 1d --config .github/workflows/lychee.toml './**/*.md'
18+ lycheeVersion : latest
19+ format : markdown
20+ args : >
21+ --base https://pestphp.com
22+ --user-agent "Mozilla 5.0"
23+ --exclude "https?://(www\.)?(twitter\.com|instagram\.com|linkedin\.com)"
24+ --max-retries 5
25+ --verbose
26+ --no-progress
27+ "**/*.md"
You can’t perform that action at this time.
0 commit comments