Skip to content

Commit

Permalink
ci: upload SARIF file only when debug is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Feb 17, 2025
1 parent 00c49eb commit b058403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

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

0 comments on commit b058403

Please sign in to comment.