mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 11:35:51 +00:00
Update README with upload-sarif v2 (#1078)
GitHub action upload-sarif v1 is deprecated and action fails if used. Updated README with v2 so workflow can be copy and use without modiciations Fixes #1077
This commit is contained in:
parent
fece49805b
commit
43b7cbf661
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ jobs:
|
|||
# we let the report trigger content trigger a failure using the GitHub Security features.
|
||||
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
||||
- name: Upload SARIF file
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
with:
|
||||
# Path to SARIF file relative to the root of the repository
|
||||
sarif_file: results.sarif
|
||||
|
|
Loading…
Reference in a new issue