Skip to content

Commit ae5069b

Browse files
committed
ci: upload SARIF file only when debug is enabled
1 parent 00c49eb commit ae5069b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/differential-shellcheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
token: ${{ secrets.GITHUB_TOKEN }}
3131

32-
- if: ${{ always() }}
32+
- if: ${{ runner.debug == '1' && !cancelled() }}
3333
name: Upload artifact with ShellCheck defects in SARIF format
3434
uses: actions/upload-artifact@v4
3535
with:

0 commit comments

Comments
 (0)