Skip to content

Commit a3b2778

Browse files
Potential fix for code scanning alert no. 26: Workflow does not contain permissions (#25525)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 09a5029 commit a3b2778

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
schedule:
44
- cron: "0 4 * * *"
55
name: Semgrep config
6+
permissions:
7+
contents: read
68
jobs:
79
semgrep:
810
name: semgrep/ci

0 commit comments

Comments
 (0)