| Can someone explain what we are looking at? Perhaps a simple point by point explanation of what was done, what the expected behavior is and what we observe instead? Do I understand correctly that these are the events that happened: * septicmk forked v6d-io/v6d to septicmk/v6d * septicmk created a pull request from septicmk/v6d:main to v6d-io/v6d:main * septicmk merged
sighingnow's commit 61f3741 to septicmk/v6d:main (perhaps while updating their fork?) * GitHub says septicmk merged commit 61f3741 to septicmk/v6d:main? If so is that not right? They did merge a commit in their fork at septicmk/v6d:main, didn't they? Does GitHub say anywhere that they merged commit to v6d-io/v6d:main? That would be very interesting and a real issue! I agree the big "Merged" button on top of the pull request is very misleading, perhaps a UX bug! But no unauthorized merge actually happened here, did it? |
* septicmk forked v6d-io/v6d to septicmk/v6d
* septicmk added commits to septicmk/v6d:main
* septicmk created a pull request from septicmk/v6d:main to v6d-io/v6d:main
* septicmk force pushed septicmk/v6d:main with the head commit of v6d-io/v6d:main
* Github closed the pull request and displayed a "merge" notification
The UX issue is that septicmk did not have write permission to v6d-io and did not actually merge any commit into it, but GitHub says "septicmk merged commit 61f3741 into v6d-io:main". Commit 61f3741 was authored by sighingnow and was already on v6d-io:main.
So in this case no authorized merge actually happened, the PR was just updated to have no difference from the actual repository's main branch, but GitHub makes it seem like a merge happened.