mirror of
https://github.com/securego/gosec.git
synced 2024-12-26 20:53:56 +02: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
@ -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 New Issue
Block a user