Hi Atlantis, I am currently trying to simplify ter...
# atlantis-community
k
Hi Atlantis, I am currently trying to simplify terraform planning for users by enabling planning in Draft PR’s Kinda like so: https://github.com/runatlantis/atlantis/issues/2237 However something is stuck in my craw, is there a way for the same filepath to have two different workflows such that when a github pr is draft it runs workflow B and when it is not it runs workflow A? Like part of me thinks that should work but I am unclear on how to instrument it.
Copy code
draft:
    plan:
      steps:
        - run: /home/atlantis/select_module_versions.sh state1 state2 state3 state4
        - init
        - plan
          extra_args: ["-lock=false"]
p
you can have workflows base on branches
and those could use the same dir
but base on the type of PR , I do not think is implemented
k
Gotcha thank you @PePe Amengual