Skip to content

Commit 13ec17f

Browse files
committed
chore: link-checker, check only md files in root and in docs
1 parent d573d0b commit 13ec17f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/link-checker.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,22 @@ on:
66
- '**.md'
77
- 'docs/**'
88

9+
910
jobs:
1011
markdown-link-check:
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v2
1415

15-
- name: Check all markdown files in root
16+
- name: Check markdown links in docs
1617
uses: gaurav-nelson/github-action-markdown-link-check@v1
1718
with:
1819
config-file: '.github/workflows/link-checker.config.json'
20+
folder-path: 'docs/'
1921

22+
- name: Check markdown files in root
23+
uses: gaurav-nelson/github-action-markdown-link-check@v1
24+
with:
25+
config-file: '.github/workflows/link-checker.config.json'
26+
# ignore subfolders we don't want to check everthing, there is a lot of files from plugins that we don't control
27+
max-depth: 0

0 commit comments

Comments
 (0)