-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Bitbucket Cloud | Plan Failed: Pull request must be mergeable before running plan. #3486
Comments
Is this a recent bug? Have you tried an older version to see if this may be a regression? |
this was my initial deployment, haven't tried any older version yet. |
I faced the same issue with Bitbucket server. Temporarily disable plan requirement. |
Same issue here with 'github' and atlantis v0.26.0. |
@brettpalmberg are you able to use apply_requirement: [mergeable] with bitbucket cloud? I've been struggling with this for some time and could not find any help either here or in the Atlantis community yet. For me it just ignores the mergeable state of the PR and run the apply even without any kind of approval. If you could maybe shed any light on this or share your config files, I would really appreciate it. |
@oliver-vini - I had a similar experience, did not get this working. I removed the [mergable] requirement in the configuration file in the interim until the bug is resolved. |
Community Note
Overview of the Issue
Doc says for
mergeable
https://www.runatlantis.io/docs/command-requirements.html#mergeableBut atlantis plan fails for bitbucket.org (Cloud) when there is
no conflict
upon creating Pull RequestAbove screen shot where there is no mentioning of conflict and its fully in-sync with
main branch
Reproduction Steps
Atlantis comments on PR saying
Plan Error: Pull request is not mergeable
Logs
Environment details
atlantis:v0.23.5
server
Atlantis server-side config file:
But manually adding
atlantis plan
right after the error message, it proceeds to planThe text was updated successfully, but these errors were encountered: