Skip to content

Commit 2b37bc0

Browse files
committed
Configure permissions in the snyk scan workflow
1 parent 0e422d7 commit 2b37bc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/snyk-scan.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ name: Snyk scan
22
on:
33
push:
44
branches:
5-
- main
5+
- '**'
66
pull_request:
77
branches:
88
- main
99

1010
jobs:
1111
snyk-security:
12+
permissions:
13+
security-events: write
1214
runs-on: ubuntu-latest
1315
steps:
1416
- name: Checkout

0 commit comments

Comments
 (0)