* Adding link checker workflow Signed-off-by: Vacha Shah <[email protected]> * Using the latest version for lycheeverse Signed-off-by: Vacha Shah <[email protected]> * Fixing links Signed-off-by: Vacha Shah <[email protected]> * Fixing test failures due to asyncio Signed-off-by: Vacha Shah <[email protected]>
25 lines
530 B
YAML
25 lines
530 B
YAML
name: Link Checker
|
|
on:
|
|
push:
|
|
branches:
|
|
- "*"
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
|
|
jobs:
|
|
linkchecker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: lychee Link Checker
|
|
id: lychee
|
|
uses: lycheeverse/[email protected]
|
|
with:
|
|
args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "file:///github/workspace/*" --exclude-mail
|
|
fail: true
|
|
env:
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|