constellation/.github/workflows/test-shellcheck.yml
Paul Meyer 7c13302936 Checkout branch instead of head commit
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2022-10-19 10:51:44 +02:00

29 lines
606 B
YAML

name: Shellcheck
on:
workflow_dispatch:
push:
branches:
- main
- "release/**"
paths:
- "**.sh"
pull_request:
paths:
- "**.sh"
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
with:
ref: ${{ github.head_ref }}
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@b2bbefc2e6b9dcbc6355b85e366c9e55bf8d57e1 # master
with:
severity: error
ignore_paths: charts/cilium