diff --git a/check-markdown/action.yml b/check-markdown/action.yml index a965ac7..bda4c06 100644 --- a/check-markdown/action.yml +++ b/check-markdown/action.yml @@ -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 diff --git a/check-markdown/config.json b/check-markdown/config.json new file mode 100644 index 0000000..e49cae2 --- /dev/null +++ b/check-markdown/config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "^#" + } + ] +}