Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI workflow to check for broken links #6

Merged
merged 12 commits into from
Sep 24, 2024
19 changes: 19 additions & 0 deletions .github/.markdownlinkcheck.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"ignorePatterns": [
{
"pattern": "http://127.0.0.1:8000/"
},
{
"pattern": "https://cra0.net/public/bin-published/Titanfall_VPKTool3.4_Portable.zip"
},
{
"pattern": "https://crates.io/crates/rrplug"
},
{
"pattern": "https://www.wunderboy.org/valve-hl2source-sdk-tools/#vtf_shell"
},
{
"pattern": "/_static/corner_test_map.map"
}
]
}
14 changes: 14 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Linkcheck
on: [push, pull_request]

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: md-linkcheck
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: '.github/.markdownlinkcheck.json'