Skip to content

Commit 0753d48

Browse files
authored
Explicitly add permissions to GitHub actions (#2744)
Signed-off-by: sashashura <[email protected]>
1 parent 530558a commit 0753d48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
pull_request:
1515
branches: ['**']
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821

1922
#
@@ -81,6 +84,8 @@ jobs:
8184
# Release job, only for pushes to the main development branch
8285
#
8386
release:
87+
permissions:
88+
contents: write
8489
runs-on: ubuntu-latest
8590
needs: [build] # build job must pass before we can release
8691

0 commit comments

Comments
 (0)