We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a66e229 commit 92ee337Copy full SHA for 92ee337
1 file changed
.github/workflows/shellcheck.yaml
@@ -0,0 +1,33 @@
1
+name: ShellCheck
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+ branches:
7
+ - main
8
+ - release-*
9
+ pull_request:
10
11
12
13
+
14
+# cancel the in-progress workflow when PR is refreshed.
15
+concurrency:
16
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
17
+ cancel-in-progress: true
18
19
+permissions:
20
+ contents: read
21
22
+jobs:
23
+ shellcheck:
24
+ name: Shellcheck
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
+ - name: install shellcheck
29
+ run: |
30
+ sudo apt-get update
31
+ sudo apt-get install -y shellcheck
32
+ - name: Run ShellCheck
33
+ run: make shellcheck
0 commit comments