Skip to content

Commit

Permalink
Fix scan job configuration (#254)
Browse files Browse the repository at this point in the history
Signed-off-by: Ignasi Barrera <[email protected]>
  • Loading branch information
nacx authored Apr 22, 2024
1 parent d63df82 commit 3b67f32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ jobs:
id: scan
with:
image: local/authservice:scan-amd64
# Only fail the build on PRs. Do not fail the build on the scheduled run, to let the workflow
# continue and have the report uploaded.
fail-build: ${{ github.event_name != 'schedule' }}
- run: cat ${{ steps.scan.outputs.sarif }}
if: always() # Always print the report to the stdout.
# Do not upload the security advisories on every commit or pull request.
# Upload the security advisories only for the nightly scans.
- uses: github/codeql-action/upload-sarif@v3
Expand Down

0 comments on commit 3b67f32

Please sign in to comment.