Skip to content

Commit

Permalink
Expose --ignore-path option
Browse files Browse the repository at this point in the history
  • Loading branch information
nosborn committed Dec 20, 2021
1 parent 4af041e commit e2489cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Expand Up @@ -13,6 +13,9 @@ inputs:
ignore_files:
description: files to ignore/exclude
required: false
ignore_path:
description: path to file with ignore pattern(s)
required: false
rules:
description: custom rule files
required: false
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Expand Up @@ -3,6 +3,7 @@
MARKDOWNLINT=markdownlint
MARKDOWNLINT="${MARKDOWNLINT}${INPUT_CONFIG_FILE:+ -c ${INPUT_CONFIG_FILE}}"
MARKDOWNLINT="${MARKDOWNLINT}${INPUT_IGNORE_FILES:+ -i ${INPUT_IGNORE_FILES}}"
MARKDOWNLINT="${MARKDOWNLINT}${INPUT_IGNORE_PATH:+ -p ${INPUT_IGNORE_PATH}}"
MARKDOWNLINT="${MARKDOWNLINT}${INPUT_RULES:+ -r ${INPUT_RULES}}"

# shellcheck disable=SC2086
Expand Down

0 comments on commit e2489cd

Please sign in to comment.