Skip to content

Commit

Permalink
ADD[tungbq#102]:Implement link checker report to check broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekvr1 committed Oct 24, 2023
1 parent 1477607 commit 0a9ef7a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Links Checker

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # weekly run

jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.8.0

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue, good first issue

0 comments on commit 0a9ef7a

Please sign in to comment.