Skip to content

Commit 6af3f9e

Browse files
Atryryansonshine
andauthored
ci(codeql): add required permissions (#25)
* ci: add required permissions * Update codeql-analysis.yml Co-authored-by: Ryan Sonshine <ryansonshine@users.noreply.github.com>
1 parent 5bcadc3 commit 6af3f9e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
# https://github.com/ryansonshine/ryansonshine/blob/main/.github/workflows/codeql-analysis.yml
33
name: "CodeQL"
44

5+
permissions:
6+
# required for all workflows
7+
security-events: write
8+
9+
# uncomment the following for private repositories
10+
# actions: read
11+
# contents: read
12+
513
on:
614
push:
715
branches: [main]

0 commit comments

Comments
 (0)