mirror of
https://github.com/engn33r/awesome-bluetooth-security.git
synced 2025-12-05 20:40:13 -08:00
Add Github Action to check for broken links
This commit is contained in:
12
.github/workflows/link-check.yml
vendored
Normal file
12
.github/workflows/link-check.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
name: Check Markdown links
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
markdown-link-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||||
|
with:
|
||||||
|
config-file: 'mlc_config.json'
|
||||||
5
mlc_config.json
Normal file
5
mlc_config.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"retryCount": 3,
|
||||||
|
"fallbackRetryDelay": "10s",
|
||||||
|
"aliveStatusCodes": [200, 429]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user