File tree Expand file tree Collapse file tree 3 files changed +26
-35
lines changed
Expand file tree Collapse file tree 3 files changed +26
-35
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " .github/workflows"
5+ schedule :
6+ interval : " daily"
Original file line number Diff line number Diff line change 77 pull_request :
88 branches :
99 - main
10+ schedule :
11+ - cron : ' 0 0 * * 0' # every Sunday at 00:00
1012
1113jobs :
12-
13- markdown-link-check :
14- name : Check markdown links
14+ linkChecker :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v4
18- - uses : gaurav-nelson/github-action-markdown-link-check@v1
19- with :
20- use-quiet-mode : ' yes'
21- config-file : ' .mlc-config.json'
17+ - uses : actions/checkout@v4
18+
19+ - name : Link Checker
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+ with :
31+ title : Link Checker Report
32+ content-filepath : ./lychee/out.md
33+ labels : report, automated issue
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments