mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 14:42:05 +00:00
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:
parent
f7afa9a81e
commit
f0a2ae9ff3
5
.github/workflows/sec_sast_semgrep_cron.yml
vendored
5
.github/workflows/sec_sast_semgrep_cron.yml
vendored
@ -6,7 +6,10 @@ on:
|
||||
schedule:
|
||||
- cron: 0 1 * * 6
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
semgrep-full:
|
||||
|
Loading…
Reference in New Issue
Block a user