Skip to content

Commit

Permalink
AAE-18257: don't upload grype sarif file on PRs (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
atchertchian authored Nov 20, 2023
1 parent f3fd060 commit b02a3a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/docker-build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ runs:
severity-cutoff: critical

- name: Echo sarif
if: inputs.grype-scan-enabled == 'true'
if: always() && inputs.grype-scan-enabled == 'true'
shell: bash
run: echo "$(<results.sarif )"

- name: Upload SARIF Files
if: always() && inputs.grype-scan-enabled == 'true'
if: always() && inputs.grype-scan-enabled == 'true' && github.event_name == 'push'
uses: github/codeql-action/upload-sarif@66b90a5db151a8042fa97405c6cf843bbe433f7b # v2.22.7
continue-on-error: true # do not fail if GHAS is not enabled
with:
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.8.0
v3.8.1

0 comments on commit b02a3a5

Please sign in to comment.