Skip to content

Commit 6309fc5

Browse files
committed
megalinter: upload-sarif needs more permissons?
github/codeql-action#1806
1 parent 056494c commit 6309fc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/mega-linter.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
contents: write
4949
issues: write
5050
pull-requests: write
51+
security-events: write # needed for SARIF upload
5152

5253
steps:
5354
# Git Checkout
@@ -200,6 +201,6 @@ jobs:
200201
# https://megalinter.io/latest/reporters/SarifReporter/
201202
- name: Upload MegaLinter scan results to GitHub Security tab
202203
if: success() || failure()
203-
uses: github/codeql-action/upload-sarif@v2
204+
uses: github/codeql-action/upload-sarif@v3
204205
with:
205206
sarif_file: "megalinter-reports/megalinter-report.sarif"

0 commit comments

Comments
 (0)