Skip to content

Commit

Permalink
build: harden GitHub Workflow permissions (#5660)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Low <aleksandrosansan@gmail.com>
  • Loading branch information
sashashura authored Sep 27, 2022
1 parent 8458251 commit e8866a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:

jobs:
release:
permissions:
contents: write # to upload release asset (actions/upload-release-asset)

name: Release cmd/protoc-gen-go-grpc
runs-on: ubuntu-latest
if: startsWith(github.event.release.tag_name, 'cmd/protoc-gen-go-grpc/')
Expand Down

0 comments on commit e8866a8

Please sign in to comment.