-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 1.03 KB
/
docs.yml
File metadata and controls
46 lines (41 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Docs
on:
push:
branches: [main]
paths: ['**/*.md']
pull_request:
branches: [main]
paths: ['**/*.md']
workflow_dispatch:
jobs:
markdown-link-check:
name: Markdown Link Check
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check markdown links
uses: lycheeverse/lychee-action@v2.2.0
with:
args: >-
--verbose
--no-progress
--accept 200,206
--timeout 20
--max-retries 3
--max-concurrency 10
--user-agent 'Mozilla/5.0 (compatible; LinkChecker/1.0)'
--exclude 'http://localhost.*'
--exclude-path '.git'
--exclude-path 'build'
--exclude-path 'vendor'
--exclude-mail
'**/*.md'
fail: true
jobSummary: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}