constellation/.github/workflows/test-shellcheck.yml

32 lines
764 B
YAML
Raw Normal View History

name: Shellcheck
on:
push:
branches:
- main
2022-09-03 11:47:47 -04:00
paths:
- "**.sh"
pull_request:
2022-09-03 11:47:47 -04:00
paths:
- "**.sh"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run ShellCheck
2022-08-12 04:20:19 -04:00
uses: ludeeus/action-shellcheck@203a3fd018dfe73f8ae7e3aa8da2c149a5f41c33
with:
severity: error
2022-08-12 04:20:19 -04:00
ignore_paths: charts/cilium