Skip to content

Commit 44b80e5

Browse files
committed
feat(ci): add Linkspector config file
Ignore error-triggering paths relative to GitHub repo page
1 parent 18611ae commit 44b80e5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/links.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ jobs:
2020
show_stats: false
2121
fail_level: error
2222
filter_mode: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) && 'nofilter' || 'added' }}
23+
config_file: .linkspector.yml

.linkspector.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
dirs:
2+
- .
3+
- .github
4+
- .vscode
5+
excludedFiles:
6+
- CHANGELOG.md
7+
useGitIgnore: true
8+
ignorePatterns:
9+
- pattern: "^(?:\\.{2}\\/){2}security\\/advisories$"
10+
- pattern: "^(?:\\.{2}\\/){2}releases\\/latest$"

0 commit comments

Comments
 (0)