Skip to content

Commit

Permalink
Add Broken Link Checker to CI (#15)
Browse files Browse the repository at this point in the history
* add broken links checker action

* add eof line

* remove unnecessary whitespace
  • Loading branch information
Casheeew authored Jul 19, 2024
1 parent 54b9920 commit 7a10093
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Broken Link Checker

permissions:
contents: read

# runs on prs containing markdown or html changes, as well as every monday at 9 am
on:
pull_request:
paths:
- "**.md"
- "**.html"
schedule:
- cron: "0 9 * * 1"

jobs:
link-checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: lycheeverse/lychee-action@v1
with:
fail: true
jobSummary: false
args: --verbose --no-progress './**/*.md' './**/*.html'

0 comments on commit 7a10093

Please sign in to comment.