mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2024-08-16 10:09:53 +02:00
Deprecate ignore (#68)
This commit is contained in:
parent
20fbf19cec
commit
b2bbefc2e6
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ inputs:
|
||||||
description: "Paths to ignore when running ShellCheck"
|
description: "Paths to ignore when running ShellCheck"
|
||||||
required: false
|
required: false
|
||||||
default: ""
|
default: ""
|
||||||
|
deprecationMessage: "Use ignore_paths or ignore_names instead."
|
||||||
ignore_paths:
|
ignore_paths:
|
||||||
description: "Paths to ignore when running ShellCheck"
|
description: "Paths to ignore when running ShellCheck"
|
||||||
required: false
|
required: false
|
||||||
|
@ -103,8 +104,8 @@ runs:
|
||||||
id: exclude
|
id: exclude
|
||||||
run: |
|
run: |
|
||||||
declare -a excludes
|
declare -a excludes
|
||||||
set -f # temporarily disable globbing so that globs in input aren't
|
set -f # temporarily disable globbing so that globs in input aren't expanded
|
||||||
# expanded
|
|
||||||
excludes+=("! -path \"*./.git/*\"")
|
excludes+=("! -path \"*./.git/*\"")
|
||||||
excludes+=("! -path \"*.go\"")
|
excludes+=("! -path \"*.go\"")
|
||||||
excludes+=("! -path \"*/mvnw\"")
|
excludes+=("! -path \"*/mvnw\"")
|
||||||
|
|
Loading…
Reference in a new issue