Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-Merged PR even though PR was not reviewed and checks did not pass #61

Closed
menny opened this issue Mar 10, 2020 · 5 comments
Closed

Comments

@menny
Copy link

menny commented Mar 10, 2020

This is the PR: AnySoftKeyboard/AnySoftKeyboard#2114

image

I have branch protection enabled:
image

I'm using github-actions to run PR checks/verifications.
I'm using a personal token (since I need the PR merge to trigger the push-to-master checks).

@karfau
Copy link

karfau commented Mar 10, 2020

I think there might be some missing information:

image

If you still believe this is an issue and not just misreading all the different informations, you will need to provide more details or another example.

PS: It is really hard to find the right action run related to a commit, sometimes from the github UI it looks like they are triggered from a master commit but they are actually not.

@menny
Copy link
Author

menny commented Mar 10, 2020

What other information? I provided a screenshot of the auto-merge which was done, and in the same screenshot you can see that not all checks were done, specifically the master-green-requirement

@menny
Copy link
Author

menny commented Mar 10, 2020

@karfau
Copy link

karfau commented Mar 10, 2020

Am I right that the github action master-green-requirement is only executed on branches or PRs?
The reason why it is not even listed in your sceenshot although it is required for PR to land, is that your screenshot shows the github actions that are (at the time of your screenshot) being executed against the merge commit (84a...) on the master branch, not on the last commit on the branch (834...). At least that is what it looks like for me.

Another issue might be that if your branch protection is not also forcing Admins to require those checks, and your personal token that you are using is for an admin, it might be able to skip the tests. But There is not enough information in this issue to confirm this.

Last but not least: the checkbox in the screenshot doesn't imply that this check was the one merging the PR, it just means that the action run finished successfully (which it can also do if it decides to do nothing).

@pascalgn
Copy link
Owner

pascalgn commented Apr 1, 2020

I think this is not yet fixed, or at least it's not clear what the cause for the problem is. However, it's a long time since there was any activity in this issue, so I will close it for now. If you have any new information or need any help, feel free to reopen this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants