Add link checker workflow to validate markdown links
All checks were successful
Check Links / lycheee (push) Successful in 6s
All checks were successful
Check Links / lycheee (push) Successful in 6s
This commit is contained in:
20
.gitea/workflows/link-checker.yml
Normal file
20
.gitea/workflows/link-checker.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Check Links
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
lycheee:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Link Checker
|
||||
uses: lycheeverse/lychee-action@v2
|
||||
with:
|
||||
args: --verbose --no-progress './**/*.md'
|
||||
# Fail the build if broken links are found
|
||||
fail: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user