diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7d6914ff4175..5db96d62d0a3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,12 +36,12 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} if: github.event_name == 'pull_request' - - if: ${{ always() }} - name: Upload artifact with ShellCheck defects in SARIF format + - name: Upload artifact with ShellCheck defects in SARIF format uses: actions/upload-artifact@v3 with: name: Differential ShellCheck SARIF path: ${{ steps.ShellCheck.outputs.sarif }} + if: github.event_name == 'pull_request' - name: Install Go uses: actions/setup-go@v4