Skip to content

Commit 6054e18

Browse files
kishorekgargKishore Garg
andauthored
fix incorrect application of always to not cancelled (#25)
Co-authored-by: Kishore Garg <[email protected]>
1 parent 4a6a27b commit 6054e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
fail_silently: false
7171

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

0 commit comments

Comments
 (0)