Skip to content

fix: improve link-check workflow with User-Agent and accept codes #27

fix: improve link-check workflow with User-Agent and accept codes

fix: improve link-check workflow with User-Agent and accept codes #27

Workflow file for this run

name: link-check
on:
push:
pull_request:
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check links
uses: lycheeverse/lychee-action@v2.0.2
with:
args: --verbose --no-progress --header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" --accept "200,203,301,302,403,401,429" './**/*.md'

Check failure on line 18 in .github/workflows/link-check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/link-check.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
fail: true