You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I set up an Atlantis instance that requires a PR to be mergeable before running 'apply'.
However, if I create a branch "A" of "master", then another branch "B" from "A", "B" can be merged into "A" without approval. And therefore I can apply plans without approval. I'm currently only protecting the "master" branch (requires approval).
Is there a way to prevent this kind of scenario? I think I would need to protect all branches. Any ideas or thoughts on this problem?
Thanks,
Weldon
The text was updated successfully, but these errors were encountered:
Basically you want to be able to restrict that applies only happen for PRs that are merging into your default branch (or some set of branches). AFAIK, this is not configurable in Atlantis, so ya, this sounds like a good feature to add.
Hi @nishkrishnan , I believe that does solve the issue. I misunderstood how branch functions. I haven't tested, but after looking over #1383 I'll go ahead and close this issue.
Hello, I set up an Atlantis instance that requires a PR to be mergeable before running 'apply'.
However, if I create a branch "A" of "master", then another branch "B" from "A", "B" can be merged into "A" without approval. And therefore I can apply plans without approval. I'm currently only protecting the "master" branch (requires approval).
Is there a way to prevent this kind of scenario? I think I would need to protect all branches. Any ideas or thoughts on this problem?
Thanks,
Weldon
The text was updated successfully, but these errors were encountered: