From 17c338af96778ab24cdc59e9134a73e7850e8886 Mon Sep 17 00:00:00 2001 From: "amir.langer" Date: Mon, 17 Jun 2024 18:12:42 +0100 Subject: [PATCH] Revert: Add dismiss warnings for codeql --- .github/workflows/codeql.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3daebc677..547ef145f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -50,29 +50,14 @@ jobs: id: analyze uses: github/codeql-action/analyze@v3 with: - category: "/agrona" + category: "/language:${{ matrix.language }}" output: sarif-results - - name: Upload SARIF - id: upload - uses: github/codeql-action/upload-sarif@v3 - with: - sarif_file: sarif-results/${{ matrix.language }}.sarif - wait-for-processing: true - - # optional: for debugging the uploaded sarif - - name: Upload loc as a Build Artifact - uses: actions/upload-artifact@v4 - with: - name: sarif-results-${{ matrix.language }} - path: sarif-results - retention-days: 1 - - name: Dismiss alerts if: github.ref == 'refs/heads/master' uses: advanced-security/dismiss-alerts@v1 with: - sarif-id: ${{ steps.upload.outputs.sarif-id }} + sarif-id: ${{ steps.analyze.outputs.sarif-id }} sarif-file: sarif-results/${{ matrix.language }}.sarif env: GITHUB_TOKEN: ${{ github.token }}