mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 12:05:52 +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.
|
# we let the report trigger content trigger a failure using the GitHub Security features.
|
||||||
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
args: '-no-fail -fmt sarif -out results.sarif ./...'
|
||||||
- name: Upload SARIF file
|
- name: Upload SARIF file
|
||||||
uses: github/codeql-action/upload-sarif@v1
|
uses: github/codeql-action/upload-sarif@v2
|
||||||
with:
|
with:
|
||||||
# Path to SARIF file relative to the root of the repository
|
# Path to SARIF file relative to the root of the repository
|
||||||
sarif_file: results.sarif
|
sarif_file: results.sarif
|
||||||
|
|
Loading…
Reference in a new issue