From 0c99a3dbbafc5a64e3c91329bcad1a5205b9cd4b Mon Sep 17 00:00:00 2001 From: Dimitris Moraitidis Date: Mon, 26 Feb 2024 18:56:29 +0100 Subject: [PATCH] Update automerging.md (#4281) Co-authored-by: PePe Amengual --- runatlantis.io/docs/automerging.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/runatlantis.io/docs/automerging.md b/runatlantis.io/docs/automerging.md index 9cb5b60036..1e0b21ba77 100644 --- a/runatlantis.io/docs/automerging.md +++ b/runatlantis.io/docs/automerging.md @@ -24,7 +24,9 @@ Automerging can be enabled either by: If automerge is enabled, you can disable it for a single `atlantis apply` command with the `--auto-merge-disabled` option. -## All Plans Must Succeed +## Requirements + +### All Plans Must Succeed When automerge is enabled, **all plans** in a pull request **must succeed** before **any** plans can be applied. @@ -43,5 +45,10 @@ to be saved. Once I fix the issue in `dir2`, I can push a new commit which will trigger an autoplan. Then I will be able to apply both plans. +### All Plans must be applied + +If multiple projects/dirs/workspaces are configured to be planned automatically, +then they should all be applied before Atlantis automatically merges the PR. + ## Permissions The Atlantis VCS user must have the ability to merge pull requests.