File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ShellCheck SARIF
2
+ on : [push, pull_request]
3
+
4
+ permissions : {} # Setting default permissions to none for enhanced security
5
+
6
+ jobs :
7
+ shellcheck :
8
+ permissions :
9
+ contents : read # for actions/checkout to fetch code
10
+ pull-requests : read # to get PR metadata
11
+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
12
+ name : ShellCheck Analysis
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout repository
16
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17
+ with :
18
+ persist-credentials : false
19
+ - name : Shellcheck Scan
20
+ uses : reactive-firewall/shellcheck-scan@v1
21
+ with : # optional arguments
22
+ match : ' tests/* **/*.bash'
23
+ publish-artifacts : true
24
+ if : ${{ success() }}
You can’t perform that action at this time.
0 commit comments