mirror of
https://github.com/fmtlib/fmt.git
synced 2026-06-15 00:16:15 +08:00
Scope CodeQL write permissions to the analyze job
This commit is contained in:
parent
b18919cb38
commit
2538c89e71
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
@ -8,12 +8,14 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
actions: read
|
||||
steps:
|
||||
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user