File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
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 :
1214 linkChecker :
1719 - name : Link Checker
1820 id : lychee
1921 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
You can’t perform that action at this time.
0 commit comments