Hello! Does anyone have an update or knows if the ...
# atlantis-community
a
Hello! Does anyone have an update or knows if the feature of plan_requirement = [undiverged] works? 🥲
u
It works for me. I explored it a little bit also and had a PR. Hope it help you.
a
I'm using Atlantis v0.27.1, with checkout strategy= merge and for testing I created a PR with a old branch out of date and I see Atlantis planning no problem:/ Can you answer a question for me? Do this feature check per project undiverged or for the whole branch? Thanks
u
I think it's based on your PR base branch? Not 100% sure. If you have checkout strategy= merge, I don't know then. For me, if my PR branch is older than master branch, I would have a comment like
Upstream was modified, a new merge was performed
a
So you can use undiverged with checkout strategy branch?
u
Yes
a
I'll try it again, thanks so much 😁
Didn't work for me :/ This is my config: ATLANTIS_CHECKOUT_STRATEGY = "branch" Server-side yaml:
Copy code
repos:
  - id: '/.*/'
    plan_requirements: [undiverged]
    apply_requirements: [mergeable, approved, undiverged]
    import_requirements: [undiverged]
My PR is older than the master branch, and I still don't get the error
github is tell me the same, but I want to see the error in Atlantis
u
ATLANTIS_CHECKOUT_STRATEGY needs to be merge
a
I also did try it with "merge" 😢 , which version of Atlantis are you using?
u
latest