From 43b7cbf661c3d3c3605c692db6b5d813537225dd Mon Sep 17 00:00:00 2001 From: Chaminda Divitotawela Date: Tue, 28 Nov 2023 18:09:22 +1000 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e84b1962a0..f7b41df2ed 100644 --- a/README.md +++ b/README.md @@ -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