Linter feature: checking broken links and show in PR #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |