mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-09 15:52:54 +01:00
Refine permissions in CodeQL workflow
The "read-all" permission has been removed from the CodeQL workflow. Instead, the workflow now includes a specific read permission for contents, ensuring a more precise and secure access level.
This commit is contained in:
parent
b36aeeeab6
commit
4bc210f1ab
1 changed files with 2 additions and 1 deletions
3
.github/workflows/codeql.yml
vendored
3
.github/workflows/codeql.yml
vendored
|
@ -23,7 +23,8 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '31 14 * * 1'
|
- cron: '31 14 * * 1'
|
||||||
|
|
||||||
permissions: read-all
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
|
|
Loading…
Reference in a new issue