Skip to content

Commit

Permalink
Deprecate ignore (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Sep 3, 2022
1 parent 20fbf19 commit b2bbefc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ inputs:
description: "Paths to ignore when running ShellCheck"
required: false
default: ""
deprecationMessage: "Use ignore_paths or ignore_names instead."
ignore_paths:
description: "Paths to ignore when running ShellCheck"
required: false
Expand Down Expand Up @@ -103,8 +104,8 @@ runs:
id: exclude
run: |
declare -a excludes
set -f # temporarily disable globbing so that globs in input aren't
# expanded
set -f # temporarily disable globbing so that globs in input aren't expanded
excludes+=("! -path \"*./.git/*\"")
excludes+=("! -path \"*.go\"")
excludes+=("! -path \"*/mvnw\"")
Expand Down

0 comments on commit b2bbefc

Please sign in to comment.