Skip to content

Commit e5a4120

Browse files
committed
Update scans.yml
1 parent 947134d commit e5a4120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scans.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
with:
6262
image-path: ${{ github.sha }}
6363
output: clair_results.sarif
64-
return-code: ${{ github.event_name == 'pull_request' }}
64+
return-code: ${{ github.event_name == 'pull_request' && 1 || 0 }}
6565
db-file: matcher.db
6666

6767
- if: ${{ success() || failure() }}

0 commit comments

Comments
 (0)