constellation/.github/workflows/test-shellcheck.yml
Nils Hanke a7e81aef73
Update GitHub workflow runners to Ubuntu 22.04 (#513)
* Update all GitHub action runners to ubuntu-22.04
* Fix license checker script for grep >3.4
2022-11-10 16:55:24 +01:00

29 lines
605 B
YAML

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