Skip to content

Commit 47cd7bb

Browse files
willingclwasser
authored andcommitted
Update link check action to test weekly
1 parent e6fab44 commit 47cd7bb

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/linkcheck.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
1-
name: Links
1+
name: Link check (weekly)
22

33
on:
44
repository_dispatch:
55
workflow_dispatch:
66
schedule:
7-
- cron: "10 02 * * *"
7+
- cron: "10 02 * * 6"
88

99
jobs:
1010
linkChecker:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Link Checker
1616
id: lychee
1717
uses: lycheeverse/lychee-action@v1.9.0
18+
with:
19+
args: --verbose --no-progress _site/*.html
20+
env:
21+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1822

1923
- name: Create Issue From File
2024
if: env.lychee_exit_code != 0
21-
uses: peter-evans/create-issue-from-file@v4
25+
uses: peter-evans/create-issue-from-file@v5
2226
with:
2327
title: Link Checker Report
2428
content-filepath: ./lychee/out.md

0 commit comments

Comments
 (0)