Skip to content

Commit

Permalink
ci: use github/codeql-action/upload-sarif
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Apr 3, 2023
1 parent a78c071 commit 343aa16
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,17 @@ jobs:
uses: ./
with:
shell-scripts: .github/.differential-shellcheck-scripts.txt
token: ${{ secrets.GITHUB_TOKEN }}

- if: ${{ always() }}
name: Upload artifact with defects in SARIF format
name: Upload artifact with ShellCheck defects in SARIF format
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: Differential ShellCheck SARIF
path: ${{ steps.ShellCheck.outputs.sarif }}
retention-days: 7

- if: ${{ always() }}
name: Upload SARIF to GitHub using github/codeql-action/upload-sarif
uses: github/codeql-action/upload-sarif@bb28e7e59e2ad6c1e5400e671795b2fa1b2fca6f
with:
sarif_file: ${{ steps.ShellCheck.outputs.sarif }}

0 comments on commit 343aa16

Please sign in to comment.