Skip to content

External link validation #91

External link validation

External link validation #91

name: External link validation
on:
pull_request:
types: [opened, edited]
schedule:
- cron: 0 11 * * *
jobs:
linkvalidator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: lychee Link Checker
id: lychee
uses: lycheeverse/[email protected]
with:
args: --accept=200,403,429 -s "https" "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "https://github.com/\[your*" --exclude "https://localhost:9200" --exclude-mail
- name: Fail if there were link errors
continue-on-error: true # to be removed after fixes from platform are applied
run: exit ${{ steps.lychee.outputs.exit_code }}