From 6eb62923bcfa39a3da3adb6346a242af676296f5 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sat, 30 May 2020 12:00:24 +0200 Subject: [PATCH] Update --- .github/workflows/push.yml | 2 +- README.md | 2 +- runaction.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a85e862..5f0c204 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -10,4 +10,4 @@ jobs: - name: Run Shellcheck uses: ./ with: - ignore: "ignore" + ignore: ignore diff --git a/README.md b/README.md index 294beb8..cc5e239 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ example: SHELLCHECK_OPTS: -e SC2059 -e SC2034 -e SC1090 ``` -## Disable paths +## Ignore paths You can use the `ignore` input to disable specific directories. diff --git a/runaction.sh b/runaction.sh index 27eaef1..9ab034b 100755 --- a/runaction.sh +++ b/runaction.sh @@ -11,8 +11,8 @@ statuscode=0 excludes+=( ! -path *./.git/* ) for path in ${INPUT_IGNORE}; do - echo "::debug:: Adding '${path}' to excludes" - excludes+=(! -path *"./${path}/"* ) + echo "::debug:: Adding '*./${path}/*' to excludes" + excludes+=(! -path "*./${path}/*" ) done readarray -d '' filepaths < <(find . "${excludes[@]}" \