This repository was archived by the owner on Mar 31, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +81
-1
lines changed
Expand file tree Collapse file tree 4 files changed +81
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Check All URLs
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ # Cron syntax has five fields separated by a space, and each field represents a unit of time.
7+ #
8+ # ┌───────────── minute (0 - 59)
9+ # │ ┌───────────── hour (0 - 23)
10+ # │ │ ┌───────────── day of the month (1 - 31)
11+ # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
12+ # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
13+ # │ │ │ │ │
14+ # │ │ │ │ │
15+ # │ │ │ │ │
16+ # * * * * *
17+ # * is a special character in YAML so you have to quote this string
18+ - cron : ' 0 0 7 * *' # midnight on the seventh day (arbitrary) of every month
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+
24+ steps :
25+ - uses : actions/checkout@v3
26+
27+ # We maintain the list of the URLs excluded from checking in a separate file so that we can use
28+ # it in multiple workflows, while easily maintaining consistency.
29+ - name : Read exclude-urls list
30+ id : exclude
31+ uses : juliangruber/read-file-action@v1
32+ with :
33+ path : ./.github/workflows/exclude-urls.txt
34+
35+ - name : urls-checker
36+ uses : urlstechie/urlchecker-action@0.0.33
37+ with :
38+ # Use common exclude list read in above
39+ exclude_urls : ${{ steps.exclude.outputs.content }}
40+ timeout : 10
41+ retry_count : 3
42+ print_all : false
Original file line number Diff line number Diff line change 1+ name : Check URLs in Changed Files
2+
3+ on : [pull_request, push, workflow_dispatch]
4+
5+ jobs :
6+ urlchecks :
7+ name : check-urls
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v3
12+
13+ - id : files
14+ # uses: jitterbit/get-changed-files@v1 ### Hasn't been updated to Node16
15+ uses : masesgroup/retrieve-changed-files@v2
16+ with :
17+ format : ' csv'
18+
19+ # We maintain the list of the URLs excluded from checking in a separate file so that we can use
20+ # it in multiple workflows, while easily maintaining consistency.
21+ - name : Read exclude-urls list
22+ id : exclude
23+ uses : juliangruber/read-file-action@v1
24+ with :
25+ path : ./.github/workflows/exclude-urls.txt
26+
27+ # Run URL checks
28+ - name : URLs-checker
29+ uses : urlstechie/urlchecker-action@0.0.33
30+ with :
31+ # only include the changed files
32+ include_files : ${{ steps.files.outputs.added_modified }}
33+ # Use common exclude list read in above
34+ exclude_urls : ${{ steps.exclude.outputs.content }}
35+ timeout : 10
36+ retry_count : 3
37+ print_all : false
Original file line number Diff line number Diff line change 1+ http://www.example.com/foo/LICENSE
Original file line number Diff line number Diff line change @@ -85,4 +85,4 @@ profiles:
8585# This space below is where custom yaml items (e.g. pinning
8686# sandpaper and varnish versions) should live
8787
88-
88+ varnish : intersect-training/varnish
You can’t perform that action at this time.
0 commit comments