Skip to content

Commit f1ab444

Browse files
committed
fix: add output-filefor sarif
1 parent a5989bd commit f1ab444

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- 'core/**'
99
- '.github/workflows/**'
1010

11+
concurrency:
12+
group: security-scan-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
env:
1216
OPENJPEG_VERSION: 2.5
1317

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches: [main]
99
workflow_dispatch:
1010

11+
concurrency:
12+
group: security-scan-${{ github.ref }}
13+
cancel-in-progress: true
14+
1115
jobs:
1216
validate:
1317
runs-on: ubuntu-latest

.github/workflows/security-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ jobs:
4949
with:
5050
path: "./lib"
5151
output-format: sarif
52+
output-file: grype-report.sarif
5253
fail-build: true
5354
severity-cutoff: critical
5455
- name: Upload SARIF report
55-
uses: github/codeql-action/upload-sarif@v2
56+
uses: github/codeql-action/upload-sarif@v3
5657
with:
5758
sarif_file: ${{ steps.grype.outputs.sarif }}
5859

0 commit comments

Comments
 (0)