Skip to content

Linter feature: checking broken links and show in PR #3

Linter feature: checking broken links and show in PR

Linter feature: checking broken links and show in PR #3

name: Check Links (Action)
on:
pull_request:
paths:
- '**.md'
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
args: |
--verbose
--no-progress
--accept 200,429
--timeout 30
--max-redirects 5
--base https://brisbanesocialchess.github.io
"**/*.md"
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}