Skip to content

Commit 2bf7075

Browse files
committed
ADD[#102]:Implement link checker report to check broken link
1 parent 4c9fb8a commit 2bf7075

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/link-checker.yml

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

0 commit comments

Comments
 (0)