We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1965f6 commit 1d8c6e3Copy full SHA for 1d8c6e3
2 files changed
.github/dependabot.yml
@@ -0,0 +1,6 @@
1
+version: 2
2
+updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: ".github/workflows"
5
+ schedule:
6
+ interval: "daily"
.github/workflows/markdown-link-check.yml
@@ -7,6 +7,8 @@ on:
7
pull_request:
8
branches:
9
- main
10
11
+ - cron: '0 0 * * 0' # every Sunday at 00:00
12
13
jobs:
14
linkChecker:
@@ -17,3 +19,15 @@ jobs:
17
19
- name: Link Checker
18
20
id: lychee
21
uses: lycheeverse/lychee-action@v1
22
+ with:
23
+ # fail action if there are broken links
24
+ fail: true
25
+
26
+ - name: Create Issue From File
27
+ # create issues only when triggered by schedule
28
+ if: github.event_name == 'schedule' && env.lychee_exit_code != 0
29
+ uses: peter-evans/create-issue-from-file@v4
30
31
+ title: Link Checker Report
32
+ content-filepath: ./lychee/out.md
33
+ labels: report, automated issue
0 commit comments