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 @@ -120,3 +120,27 @@ jobs:
120120 BRANCH_NAME=${{ github.event.repository.default_branch }}
121121 chmod +x scripts/markdown-validator.sh
122122 scripts/markdown-validator.sh
123+
124+ checkov :
125+ name : Checkov Scan
126+ runs-on : ubuntu-latest
127+ permissions :
128+ contents : read # for actions/checkout to fetch code
129+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
130+ actions : read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
131+ steps :
132+ - name : Checkout
133+ uses : actions/checkout@v3
134+
135+ - name : Checkov Scan
136+ uses : bridgecrewio/checkov-action@master
137+ with :
138+ quiet : true
139+ output_format : cli,sarif
140+ output_file_path : console,results.sarif
141+
142+ - name : Upload SARIF file
143+ uses : github/codeql-action/upload-sarif@v2
144+ if : success() || failure()
145+ with :
146+ sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments