Open pcorpet opened 10 months ago
We have some rudimentary support here: the Publish button will indicate when auto-merge has been enabled for a PR via an icon on the button, and a longer text in the dropdown (viz #904). We'll even require you to use a long-click to publish if doing so might trigger a merge!
You're right that there's no way to turn automerge on/off for a PR at this point, though.
Bonus: update the action button to differentiate a merge done by the reviewer and a automerge done by GitHub on the PR author's behalf and triggered by the review completion.
I don't quite understand which button you're referring to here -- does the functionality mentioned above cover this?
I don't quite understand which button you're referring to here -- does the functionality mentioned above cover this?
Indeed. I think it was so implicit in the flow that I didn't see it was related. Thanks.
Also the button doesn't show the "automerge enabled" status for the author.
Oh? Looking at the code this status display isn't conditional on the user role, so something odd must be going on. Do you have an example where this is happening?
Well on my side as an author I have a button "Squash and delete branch" with a red triangle. I don't see it changing when I enable/disable the automerge
I'll pm you my review URL
Ah, indeed -- we only show the automerge status in the Publish button/dropdown, so if that's not visible (as in this case) then there's no way to tell. Sorry, that'll be fixed once we move the checkbox to a new place and give you control over it.
This is a feature in GitHub pull requests which enables to mark a PR to be merged by GitHub once all checks have passed, comments are answered, and review is positive.
Missing parity with GitHub:
Bonus: update the action button to differentiate a merge done by the reviewer and a automerge done by GitHub on the PR author's behalf and triggered by the review completion.