Skip to content

Commit

Permalink
Include 404, exclude #
Browse files Browse the repository at this point in the history
Disabling checks on internal links as framewrok is not really stable there yet.
Also giving a bit more of output
  • Loading branch information
erikbosch authored and SebastianSchildt committed Jun 10, 2024
1 parent f2f7839 commit f5af1ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion check-markdown/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ runs:
run: |
npm install -g markdown-link-check
markdown-link-check --version
find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check -q -a 403,200,404
find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check -c $GITHUB_ACTION_PATH/config.json -a 403,200
7 changes: 7 additions & 0 deletions check-markdown/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^#"
}
]
}

0 comments on commit f5af1ee

Please sign in to comment.