Give only read-level security-events permission where possible
This commit is contained in:
parent
d39065943f
commit
9cd802ec12
58 changed files with 64 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue