Skip to content

Commit 5286fba

Browse files
rulex123mmorel-35
andauthored
Fix permissions for calling update-protobuf job (#309)
Signed-off-by: rulex123 <erica.manno@gmail.com> Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 parent 3982394 commit 5286fba

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/scheduled.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
uses: ./.github/workflows/compare-envoy-versions.yml
1414

1515
call-update-protobuf:
16+
permissions:
17+
pull-requests: write
1618
needs: call-compare-envoy-versions-workflow
1719
if: ${{ needs.call-compare-envoy-versions-workflow.outputs.target-version != 'noop' }}
1820
uses: ./.github/workflows/update-protobuf.yml

.github/workflows/update-protobuf.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ on:
1414
jobs:
1515
update-protobuf:
1616
permissions:
17-
contents: write
1817
pull-requests: write
1918
runs-on: ubuntu-latest
2019
steps:

0 commit comments

Comments
 (0)