From 22ab6f65bfcccf002cf64dc6f5bbb19fb36d3b10 Mon Sep 17 00:00:00 2001 From: deeplow Date: Thu, 15 Feb 2024 13:47:43 +0000 Subject: [PATCH] Bump CodeQL upload action to V3 due to deprecation The following warning was showing up in our conversion logs [1]: | Warning: CodeQL Action v2 will be deprecated on December 5th, 2024. | Please update all occurrences of the CodeQL Action in your workflow | files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/ [1]: https://github.com/freedomofpress/dangerzone/actions/runs/7916735564/job/21611227503?pr=718 --- .github/workflows/scan.yml | 4 ++-- .github/workflows/scan_released.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index b610e48..86452e7 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -27,7 +27,7 @@ jobs: only-fixed: false severity-cutoff: critical - name: Upload container scan report - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan_container.outputs.sarif }} category: container @@ -57,7 +57,7 @@ jobs: only-fixed: false severity-cutoff: critical - name: Upload application scan report - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan_app.outputs.sarif }} category: app diff --git a/.github/workflows/scan_released.yml b/.github/workflows/scan_released.yml index a378dae..fe64d56 100644 --- a/.github/workflows/scan_released.yml +++ b/.github/workflows/scan_released.yml @@ -26,7 +26,7 @@ jobs: only-fixed: false severity-cutoff: critical - name: Upload container scan report - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan_container.outputs.sarif }} category: container @@ -62,7 +62,7 @@ jobs: only-fixed: false severity-cutoff: critical - name: Upload application scan report - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.scan_app.outputs.sarif }} category: app