Skip to content

Commit

Permalink
fix incorrect application of always to not cancelled (#25)
Browse files Browse the repository at this point in the history
Co-authored-by: Kishore Garg <kkgarg@google.com>
  • Loading branch information
kishorekgarg and Kishore Garg authored Mar 21, 2024
1 parent 4a6a27b commit 6054e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
fail_silently: false

- if: |-
(steps.analyze-code-security-scc.outputs.iac_scan_result_sarif_path != '') && always()
${{ !cancelled() && steps.analyze-code-security-scc.outputs.iac_scan_result_sarif_path != '' }}
uses: 'actions/upload-artifact@v4'
with:
name: 'sarif'
Expand Down

0 comments on commit 6054e18

Please sign in to comment.