Give Semgrep permission to write its report (#6253)
Previously semgrep had read-all permission. This patch limits read slightly and adds write permissions to security-events.
This commit is contained in:
@@ -6,7 +6,10 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: 0 1 * * 6
|
- cron: 0 1 * * 6
|
||||||
|
|
||||||
permissions: read-all
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
semgrep-full:
|
semgrep-full:
|
||||||
|
|||||||
Reference in New Issue
Block a user