File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # GitHub Actions workflow for Baler (BAd Link reportER) version 2.0.0.
2+ # This is available as the file "sample-workflow.yml" from the source
3+ # code repository for Baler: https://github.com/caltechlibrary/baler
4+
5+ name : Bad Link Reporter
6+
7+ # Configure this section ─────────────────────────────────────────────
8+
9+ env :
10+ # Files examined by the workflow:
11+ files : ' *.md'
12+
13+ # Label assigned to issues created by this workflow:
14+ labels : bug
15+
16+ # Number of previous issues to check for duplicate reports.
17+ lookback : 10
18+
19+ # Time (sec) to wait on an unresponsive URL before trying once more.
20+ timeout : 15
21+
22+ # Optional file containing a list of URLs to ignore, one per line:
23+ ignore : .github/workflows/ignored-urls.txt
24+
25+ on :
26+ schedule : # Cron syntax is: "min hr day-of-month month day-of-week"
27+ - cron : 00 04 * * 1
28+ push :
29+ paths : ['**.md']
30+ workflow_dispatch :
31+
32+ # The rest of this file should be left as-is ─────────────────────────
33+
34+ run-name : Test links in Markdown files
35+ jobs :
36+ Baler :
37+ name : Link checker and reporter
38+ runs-on : ubuntu-latest
39+ permissions :
40+ issues : write
41+ steps :
42+ - uses : caltechlibrary/baler@v2
43+ with :
44+ files : ${{github.event.inputs.files || env.files}}
45+ labels : ${{github.event.inputs.labels || env.labels}}
46+ ignore : ${{github.event.inputs.ignore || env.ignore}}
47+ timeout : ${{github.event.inputs.timeout || env.timeout}}
48+ lookback : ${{github.event.inputs.lookback || env.lookback}}
You can’t perform that action at this time.
0 commit comments