From 6309fc5a37341969509cbe21b47637d70d4b1647 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Sat, 24 May 2025 19:55:10 +0200 Subject: [PATCH] megalinter: upload-sarif needs more permissons? https://github.com/github/codeql-action/issues/1806 --- .github/workflows/mega-linter.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 634b2f6..d597ff0 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -48,6 +48,7 @@ jobs: contents: write issues: write pull-requests: write + security-events: write # needed for SARIF upload steps: # Git Checkout @@ -200,6 +201,6 @@ jobs: # https://megalinter.io/latest/reporters/SarifReporter/ - name: Upload MegaLinter scan results to GitHub Security tab if: success() || failure() - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: "megalinter-reports/megalinter-report.sarif"