-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
can-merge incorrectly says the PR is mergeable #38
Comments
The final check just went green, and now I correctly get this output: $ can-merge --remote=source --pr=2698
PR status: 2698 ✔ This PR is mergeable with a zero exit code. |
For import-js/eslint-plugin-import#2341, I'm running PR: 2341 ✔ This PR is mergeable
Pending Checks (99): majors (16, 4), packages (15, 7, resolvers/webpack), majors (16, 3), packages (14, 8, resolvers/node), majors (16, 2), packages (14, 8, resolvers/webpack), majors (15, 7), packages (14, 7, resolvers/node), majors (15, 6), packages (14, 7, resolvers/webpack), majors (15, 5), packages (13, 8, resolvers/node), majors (15, 4), packages (13, 8, resolvers/webpack), majors (15, 3), packages (13, 7, resolvers/node), majors (15, 2), packages (13, 7, resolvers/webpack), majors (14, 8), packages (12, 8, resolvers/node), majors (14, 7), packages (12, 8, resolvers/webpack), majors (14, 6), packages (12, 7, resolvers/node), majors (14, 5), packages (12, 7, resolvers/webpack), majors (14, 4), packages (11, 8, resolvers/node), majors (14, 3), packages (11, 8, resolvers/webpack), majors (14, 2), packages (11, 7, resolvers/node), majors (13, 7), packages (11, 7, resolvers/webpack), majors (13, 6), packages (10, 8, resolvers/node), majors (13, 5), packages (10, 8, resolvers/webpack), majors (13, 4), packages (10, 7, resolvers/node), majors (13, 3), packages (10, 7, resolvers/webpack), majors (13, 2), packages (9, 8, resolvers/node), majors (12, 8), packages (9, 8, resolvers/webpack), majors (12, 7), packages (9, 7, resolvers/node), majors (12, 6), packages (9, 7, resolvers/webpack), majors (12, 5), packages (8, 8, resolvers/node), majors (12, 4), packages (8, 8, resolvers/webpack), majors (12, 3), packages (8, 7, resolvers/node), majors (12, 2), packages (8, 7, resolvers/webpack), majors (11, 7), packages (7, 8, resolvers/node), majors (11, 6), packages (7, 8, resolvers/webpack), majors (11, 5), packages (7, 7, resolvers/node), majors (11, 4), packages (7, 7, resolvers/webpack), majors (11, 3), packages (6, 8, resolvers/node), majors (11, 2), packages (6, 8, resolvers/webpack), majors (10, 7), packages (6, 7, resolvers/node), majors (10, 6), packages (6, 7, resolvers/webpack), majors (10, 5), majors (10, 4), majors (10, 3), majors (10, 2), majors (9, 6), majors (9, 5), majors (9, 4), majors (9, 3), majors (9, 2), majors (8, 6), majors (8, 5), majors (8, 4), majors (8, 3), majors (8, 2), majors (7, 5), majors (7, 4), majors (7, 3), majors (7, 2), majors (6, 5), majors (6, 4), majors (6, 3), majors (6, 2), majors (lts/*, 7, 3, 3), majors (lts/*, 7, 2, 2), Travis CI - Pull Request with a zero exit code, which is incorrect, since there's required checks that aren't completed. |
This doesn't seem fixed yet. |
What exactly doesn't seem fixed? |
#40 did not fix the exit code behavior. I haven't checked against an actual PR since then, but I don't recall any code change which would have fixed it. |
Jordan I added code in #39 pull request. I just added one if check for conclusion pending. |
On nvm-sh/nvm#2698, at a stage when every status check was green except for the Travis CI one, which was pending, I got this output:
It shouldn't report that the PR is mergeable while there's still a pending required check (since the travis check is required). Note that this output would have been perfect if travis was optional.
Note that the exit code was 1, which is correct.
The text was updated successfully, but these errors were encountered: