Skip to content

Commit ff5e486

Browse files
committed
Add links check action.
1 parent 56d039c commit ff5e486

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Link checker
2+
3+
on:
4+
pull_request:
5+
push:
6+
schedule:
7+
- cron: "0 5 * * *"
8+
9+
jobs:
10+
CheckDeadLinks:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 60
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
16+
with:
17+
use-quiet-mode: 'no'
18+
use-verbose-mode: 'yes'
19+
folder-path: '../'
20+
config-file: '.github/workflows/dlc.json'

.github/workflows/dlc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"timeout": "10s",
3+
"retryOn429": true,
4+
"retryCount": 10,
5+
"fallbackRetryDelay": "1000s",
6+
"aliveStatusCodes": [
7+
200,
8+
401,
9+
403
10+
]
11+
}

0 commit comments

Comments
 (0)