File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Links
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ linkChecker :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ issues : write # required for peter-evans/create-issue-from-file
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Link Checker
15+ id : lychee
16+ uses : lycheeverse/lychee-action@v2
17+ with :
18+ fail : true
19+ args : --accept '100..=103, 200..=299, 403' './**/*.md' './**/*.html'
20+
21+ - name : Create Issue From File
22+ if : steps.lychee.outputs.exit_code != 0
23+ uses : peter-evans/create-issue-from-file@v6
24+ with :
25+ title : Link Checker Report
26+ content-filepath : ./lychee/out.md
27+ labels : report, automated issue
Original file line number Diff line number Diff line change 1+ ^file://
2+ ^https://sandbox\.maxmind\.com
3+ ^https://deno\.land
4+ ^https://jsr\.io
You can’t perform that action at this time.
0 commit comments