Skip to content

Commit 0bfdba6

Browse files
authored
Add proper permissions to the protolint job in the CI workflow (#220)
Without write permissions on pull requests, the protolint job can't comment on the PRs with the linting results.
2 parents 3f98826 + de9f90d commit 0bfdba6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
protolint:
2828
name: Check proto files with protolint
2929
runs-on: ubuntu-20.04
30+
permissions:
31+
contents: read
32+
pull-requests: write
3033

3134
steps:
3235
- name: Fetch sources

0 commit comments

Comments
 (0)