We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24ff9cf commit 6ea92b7Copy full SHA for 6ea92b7
.github/workflows/link_checker.yaml
@@ -0,0 +1,30 @@
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
28
+ title: Link Checker Report
29
+ content-filepath: ./lychee/out.md
30
+ labels: report, automated issue
0 commit comments