Skip to content

Commit 9e3a405

Browse files
authored
Update update_protos.yml (#895)
1 parent 03072dc commit 9e3a405

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/update_protos.yml

+1-20
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: peter-evans/create-pull-request@v7
5252
with:
5353
commit-message: '[WORKFLOW] Updating protos from ${{ github.event.client_payload.repo_name }}, commit: ${{ github.event.client_payload.sha }}'
54-
branch: 'workflow/update-protos'
54+
branch: 'workflow/update-proto'
5555
delete-branch: true
5656
base: main
5757
title: Automated Protos Update
@@ -60,25 +60,6 @@ jobs:
6060
reviewers: njooma
6161
token: ${{ secrets.GIT_ACCESS_TOKEN }}
6262

63-
- name: Enable Pull Request Automerge
64-
if: steps.cpr.outputs.pull-request-operation == 'created'
65-
uses: peter-evans/enable-pull-request-automerge@v3
66-
with:
67-
token: ${{ secrets.GIT_ACCESS_TOKEN }}
68-
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
69-
merge-method: squash
70-
71-
- name: Auto approve
72-
if: steps.cpr.outputs.pull-request-operation == 'created'
73-
run: gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
74-
env:
75-
# (TODO ethan) hard to test for sure but it's possible this is insufficient. it's unclear
76-
# to me whether an approval from `viambot` is sufficient to satisfy merge requirements.
77-
# if not, then this won't work. but that's not particularly bad! it just means we'll still
78-
# have to merge by hand, but then we can add `viambot` as a code owner and then automatic
79-
# merging will start to work.
80-
GH_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
81-
8263
- name: Notify slack of failure
8364
uses: slackapi/[email protected]
8465
if: ${{ failure() }}

0 commit comments

Comments
 (0)