Skip to content

Commit df8cd58

Browse files
committed
ci: Explicitly define main workflow permissions
1 parent 1edae81 commit df8cd58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ concurrency:
1111
group: ${{ github.ref }}-ci
1212
cancel-in-progress: true
1313

14+
permissions:
15+
contents: read
16+
security-events: write # Required for uploading SARIF files
17+
1418
jobs:
1519
build-and-test:
1620
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)