We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 193dde4 + edfc2c1 commit 1da6355Copy full SHA for 1da6355
1 file changed
.github/workflows/lychee.yml
@@ -0,0 +1,31 @@
1
+name: Lychee-Checker
2
+
3
+on:
4
+ schedule:
5
+ - cron: "0 0 1 * *"
6
7
+jobs:
8
+ linkChecker:
9
+ name: Lychee Link Checker
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
15
+ - name: Check Links
16
+ id: lychee
17
+ uses: lycheeverse/lychee-action@v1.5.1
18
+ with:
19
+ args: --verbose --max-concurrency 32 --timeout 120 --no-progress *.md
20
21
+ - name: Create Issue From File
22
+ if: ${{ steps.lychee.outputs.exit_code != 0 }}
23
+ uses: peter-evans/create-issue-from-file@v4
24
25
+ title: Link Checker Report
26
+ content-filepath: ./lychee/out.md
27
+ labels: report, automated issue
28
29
+ - name: Fail if there were link errors
30
31
+ run: exit ${{ steps.lychee.outputs.exit_code }}
0 commit comments