Skip to content

Commit 6a7e841

Browse files
Updated the pipeline to use lychee action
Signed-off-by: krishnaduttPanchagnula <[email protected]>
1 parent 6b72f56 commit 6a7e841

File tree

3 files changed

+29
-47
lines changed

3 files changed

+29
-47
lines changed

.github/workflows/lin-rot-checker.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Link-rot-Checker
2+
3+
on:
4+
repository_dispatch:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "00 18 * * *"
8+
9+
jobs:
10+
linkChecker:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
issues: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Link Checker
18+
id: lychee
19+
uses: lycheeverse/lychee-action@v2
20+
with:
21+
fail: false
22+
23+
- name: Create Issue From File
24+
if: steps.lychee.outputs.exit_code != 0
25+
uses: peter-evans/create-issue-from-file@v5
26+
with:
27+
title: Link Checker Report
28+
content-filepath: ./lychee/out.md
29+
labels: report, automated issue

hack/lin-rot-checker.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)