workflows: shellcheck: Expand vendor ignore

- In the previous PR I only skipped the runtime/vendor
directory, but errors are showing up in other vendor
packages, so try a wildcard skip
- Also update the job step was we can distinguish between the
required and non-required versions

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-03-06 14:35:12 +00:00
parent 65021caca6
commit ee0f0b7bfe
2 changed files with 3 additions and 3 deletions

View File

@ -27,4 +27,4 @@ jobs:
- name: Run ShellCheck - name: Run ShellCheck
uses: ludeeus/action-shellcheck@master uses: ludeeus/action-shellcheck@master
with: with:
ignore_paths: ./src/runtime/vendor/** ignore_paths: "**/vendor/**"

View File

@ -16,7 +16,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
shellcheck: shellcheck-required:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- name: Checkout the code - name: Checkout the code
@ -29,4 +29,4 @@ jobs:
uses: ludeeus/action-shellcheck@master uses: ludeeus/action-shellcheck@master
with: with:
severity: error severity: error
ignore_paths: ./src/runtime/vendor/** ignore_paths: "**/vendor/**"