mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-01 13:24:05 +00:00
Raise the shellcheck gate from severity=error to severity=style now that all scripts in the repo have been cleaned up. Ignore paths that are being removed by other efforts. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Made-with: Cursor
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
|
|
# https://github.com/marketplace/actions/shellcheck
|
|
name: Shellcheck required
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- reopened
|
|
- synchronize
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
shellcheck-required:
|
|
name: shellcheck-required
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout the code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0
|
|
with:
|
|
severity: style
|
|
ignore_paths: >-
|
|
**/vendor/**
|
|
tests/metrics
|
|
tests/integration/stdio
|
|
ignore_names: >-
|
|
gha-stability-run.sh
|
|
kubernetes_stability.sh
|
|
kubernetes_stressng.sh
|
|
kubernetes_soak_test.sh
|
|
kata-manager.sh
|