mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-26 03:03:52 +00:00
This fixes all such issues, ie.: https://github.com/kata-containers/kata-containers/security/code-scanning/459 https://github.com/kata-containers/kata-containers/security/code-scanning/508 https://github.com/kata-containers/kata-containers/security/code-scanning/510 Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
32 lines
761 B
YAML
32 lines
761 B
YAML
# https://github.com/marketplace/actions/shellcheck
|
|
name: Check shell scripts
|
|
|
|
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:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout the code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0
|
|
with:
|
|
ignore_paths: "**/vendor/**"
|