From b2bbefc2e6b9dcbc6355b85e366c9e55bf8d57e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 3 Sep 2022 10:53:15 +0200 Subject: [PATCH] Deprecate ignore (#68) --- action.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index 5975066..3396910 100644 --- a/action.yaml +++ b/action.yaml @@ -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 @@ -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\"")