File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Check Broken Links"
2
+
3
+ on :
4
+ repository_dispatch :
5
+ workflow_dispatch :
6
+ schedule :
7
+ - cron : " 0 13 * * 1" # Every Monday at 1PM UTC (9AM EST)
8
+
9
+ jobs :
10
+ linkChecker :
11
+ runs-on : ubuntu-latest
12
+ permissions :
13
+ issues : write # required for peter-evans/create-issue-from-file
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+
17
+ - name : Link Checker
18
+ id : lychee
19
+ uses : lycheeverse/lychee-action@v2
20
+ with :
21
+ args : --no-progress --exclude-path vendor --exclude-path CHANGELOG.md --accept 200..=206,403 .
22
+ fail : false
23
+
24
+ - name : Create Issue From File
25
+ if : steps.lychee.outputs.exit_code != 0
26
+ uses : peter-evans/create-issue-from-file@v5
27
+ with :
28
+ title : Link Checker Report
29
+ content-filepath : ./lychee/out.md
30
+ labels : report, automated issue
You can’t perform that action at this time.
0 commit comments