mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
ci(codeql): explicitly grant runner token permissions
This allows us to make our runner token only have read-only permissions by default Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
f85e2ddb15
commit
e0ad6a2b3b
1 changed files with 6 additions and 0 deletions
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
|
|
@ -58,10 +58,16 @@ on:
|
|||
- ".github/actions/setup-dependencies/**"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
CodeQL:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue