Skip to content

Commit 1b50308

Browse files
authored
Merge pull request #114 from seqeralabs/check-external-links
Add external link checking
2 parents 60ee978 + 4bcac1a commit 1b50308

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/links.yml

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

0 commit comments

Comments
 (0)