FHIR Chat · Pull succeeded but "merging is blocked" · committers/git-help

Stream: committers/git-help

Topic: Pull succeeded but "merging is blocked"


view this post on Zulip Rik Smithies (Sep 20 2018 at 09:05):

First try at a commit etc.

Instructs say:
Once status checks have completed without errors, you will be able to merge your pull request into the master branch.

but:
https://github.com/HL7/fhir/pull/39

Merge branch 'master' of https://github.com/hl7/fhir
All checks have passed
1 successful check
FHIR Pull Request Status — #20180920.1 succeeded
Merging is blocked
The base branch restricts merging to authorized users. Learn more about protected branches.

Am I missing a permission? Wrong branch somehow? Is this something an admin does?
Same seems to apply to your last pull, number 38 @Claude Nanjo

view this post on Zulip Lloyd McKenzie (Sep 20 2018 at 14:40):

Your user id seems to be in the necessary group. @Josh Mandel ?

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:42):

Only Josh and Grahame can merge at this time.

view this post on Zulip Lloyd McKenzie (Sep 20 2018 at 14:43):

I thought we were setting up auto-merge?

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:45):

Wait, just catching up here. Everyone in the Committers list should be able to merge, one their PR is passing tests

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:45):

When I go to the PR, it says I'm not authorized to merge because the master is protected.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:45):

The "mergify" tool to automatically merge it's something we are experimenting with. I'm looking for feedback from Grahame on whether it is working/useful.

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:46):

That's why I haven't merged my PR yet, but I thought you knew that, so I was waiting for you to merge it :)

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:46):

No I should not need to be involved.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:46):

Is it currently passing tests? And are you on the committers list?

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:47):

Here's what I see: pasted image

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:48):

Yikes, this is as "brynrhodes"?

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:48):

Yes, and I just verified I'm a member of fhir-committers

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:49):

But I think mergify is only set up for members of fhir-committers-mergify, of which I am not a member.

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:49):

That's only you and Grahame, which is what prompted me to say that you two are the only ones that can merge at this time.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:50):

Ah, okay -- that's an unrelated issue. It's true we are the only ones who are configured to automatically merge.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:51):

I see the problem with the configuration now though.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:52):

When mergeify got configured, it removed the regular committers from the allowed list.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:52):

I just said it back; though it is possible that mergify is going to reset things again, in which case we will have to disable that app.

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:52):

In the meantime, you should be able to merge :-)

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 14:59):

Went to the page and even clicked refresh, still says I'm not authorized to merge :(

view this post on Zulip Josh Mandel (Sep 20 2018 at 14:59):

Thank you for the report! Checking..

view this post on Zulip Josh Mandel (Sep 20 2018 at 15:00):

Okay try one more time?

view this post on Zulip Bryn Rhodes (Sep 20 2018 at 15:02):

That worked! Thank you!

view this post on Zulip Josh Mandel (Sep 20 2018 at 15:03):

Sure. If anyone hits this issue again, please let me know and I will disable mergify so it doesn't clobber our settings.

view this post on Zulip Josh Mandel (Sep 20 2018 at 15:26):

Okay, just confirmed that mergify clobbers our Branch protection settings; I've disabled it

view this post on Zulip Grahame Grieve (Sep 20 2018 at 20:53):

well, that's pretty stupid on the part of mergify....

view this post on Zulip Grahame Grieve (Sep 20 2018 at 20:53):

I quite liked mergify as a tool for getting me more sleep

view this post on Zulip Josh Mandel (Sep 20 2018 at 21:07):

I'm talking to the developer.

view this post on Zulip Josh Mandel (Sep 21 2018 at 15:35):

https://github.com/Mergifyio/mergify-engine/issues/194#issuecomment-423433372 -- the answer is kinda "Coming in v2" :/

view this post on Zulip Grahame Grieve (Sep 21 2018 at 21:53):

is there a timeline for that?


Last updated: Apr 12 2022 at 19:14 UTC