diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f76d663..a85e862 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,7 +5,8 @@ jobs: name: Shellcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - name: Checkout + uses: actions/checkout@master - name: Run Shellcheck uses: ./ with: diff --git a/runaction.sh b/runaction.sh index 3450120..27eaef1 100755 --- a/runaction.sh +++ b/runaction.sh @@ -11,10 +11,8 @@ statuscode=0 excludes+=( ! -path *./.git/* ) for path in ${INPUT_IGNORE}; do - [[ ${path#./*} != "$path" ]] || path=./${path} - echo "::debug:: Adding '${path}' to excludes" - excludes+=(! -path *"${path}"* ) + excludes+=(! -path *"./${path}/"* ) done readarray -d '' filepaths < <(find . "${excludes[@]}" \