Give only read-level security-events permission where possible

This commit is contained in:
Henry Mercer 2025-01-24 13:24:20 +00:00
parent d39065943f
commit 9cd802ec12
58 changed files with 64 additions and 58 deletions

View file

@ -14,6 +14,10 @@ env:
# Mark telemetry for this workflow so it can be treated separately.
CODEQL_ACTION_TESTING_ENVIRONMENT: codeql-action-pr-checks
permissions:
contents: read
security-events: write # needed to upload the SARIF file
steps:
- uses: actions/checkout@v4
- uses: ./init