Skip to content

Commit f18fad2

Browse files
committed
fix: remove security-events write permission from global workflow permissions
The scorecard-action requires that security-events:write permission be declared only at the job level, not at the workflow level. This change moves the permission to only the jobs that need it (CodeQL and Scorecard jobs already have it specified).
1 parent 28183c1 commit f18fad2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/security-main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
permissions:
1212
contents: read
13-
security-events: write
1413

1514
jobs:
1615
# Detect changes (skip for scheduled runs)

0 commit comments

Comments
 (0)