Skip to content

Commit e8866a8

Browse files
authored
build: harden GitHub Workflow permissions (#5660)
Signed-off-by: Alex Low <[email protected]>
1 parent 8458251 commit e8866a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
jobs:
88
release:
9+
permissions:
10+
contents: write # to upload release asset (actions/upload-release-asset)
11+
912
name: Release cmd/protoc-gen-go-grpc
1013
runs-on: ubuntu-latest
1114
if: startsWith(github.event.release.tag_name, 'cmd/protoc-gen-go-grpc/')

0 commit comments

Comments
 (0)