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:
1 parent
f7afa9a81e
commit
f0a2ae9ff3
1 file changed
+4
-1
@@ -6,7 +6,10 @@ on:
|
||||
schedule:
|
||||
- cron: 0 1 * * 6
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
semgrep-full:
|
||||
|
||||
Reference in new issue
Block a user