Skip to content

Commit a909005

Browse files
committed
Update scans.yml
1 parent 39b3aaa commit a909005

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/scans.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ jobs:
296296
uses: anchore/scan-action@1638637db639e0ade3258b51db49a9a137574c3e # v6
297297
with:
298298
sbom: "${{ github.event.repository.name }}-sbom.spdx.json"
299+
fail-build: ${{ github.event_name == 'pull_request' }}
299300
severity-cutoff: high
300301
only-fixed: true
301302

0 commit comments

Comments
 (0)