File tree 1 file changed +1
-20
lines changed
1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 51
51
uses : peter-evans/create-pull-request@v7
52
52
with :
53
53
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 '
55
55
delete-branch : true
56
56
base : main
57
57
title : Automated Protos Update
60
60
reviewers : njooma
61
61
token : ${{ secrets.GIT_ACCESS_TOKEN }}
62
62
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
-
82
63
- name : Notify slack of failure
83
64
84
65
if : ${{ failure() }}
You can’t perform that action at this time.
0 commit comments