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:
Tom Fifield
2025-03-07 08:52:54 +08:00
committed by GitHub
parent f7afa9a81e
commit f0a2ae9ff3

View File

@@ -6,7 +6,10 @@ on:
schedule:
- cron: 0 1 * * 6
permissions: read-all
permissions:
actions: read
contents: read
security-events: write
jobs:
semgrep-full: