Skip to content

Commit d8bdce3

Browse files
authored
Merge pull request #360 from willingc/lychee-cron
add lychee nightly action
2 parents 81b30f8 + aca5fe6 commit d8bdce3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/linkcheck.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Links
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "10 02 * * *"
8+
9+
jobs:
10+
linkChecker:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Link Checker
16+
id: lychee
17+
uses: lycheeverse/lychee-action@v1.9.0
18+
19+
- name: Create Issue From File
20+
if: env.lychee_exit_code != 0
21+
uses: peter-evans/create-issue-from-file@v4
22+
with:
23+
title: Link Checker Report
24+
content-filepath: ./lychee/out.md
25+
labels: report, automated issue

0 commit comments

Comments
 (0)