2022-03-22 11:03:15 -04:00
|
|
|
name: Shellcheck
|
|
|
|
on:
|
2022-10-12 04:50:06 -04:00
|
|
|
workflow_dispatch:
|
2022-03-22 11:03:15 -04:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-09-03 11:47:47 -04:00
|
|
|
paths:
|
|
|
|
- "**.sh"
|
2022-03-22 11:03:15 -04:00
|
|
|
pull_request:
|
2022-09-03 11:47:47 -04:00
|
|
|
paths:
|
|
|
|
- "**.sh"
|
2022-03-22 11:03:15 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
name: Shellcheck
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-07-20 04:48:01 -04:00
|
|
|
- name: Checkout
|
2022-10-12 12:05:58 -04:00
|
|
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
|
2022-09-19 04:59:46 -04:00
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
|
|
|
2022-06-30 05:27:23 -04:00
|
|
|
- name: Run ShellCheck
|
2022-10-12 12:05:58 -04:00
|
|
|
uses: ludeeus/action-shellcheck@b2bbefc2e6b9dcbc6355b85e366c9e55bf8d57e1 # master
|
2022-06-30 05:27:23 -04:00
|
|
|
with:
|
|
|
|
severity: error
|
2022-08-12 04:20:19 -04:00
|
|
|
ignore_paths: charts/cilium
|