Skip to content

Commit

Permalink
docs: document --auto-merge-disabled option (runatlantis#1838)
Browse files Browse the repository at this point in the history
This flag was added in runatlantis#1533 but was not documented.
  • Loading branch information
dupuy26 authored and krrrr38 committed Dec 16, 2022
1 parent 0c1e99b commit c403d07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runatlantis.io/docs/automerging.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Automerging can be enabled either by:
to be configured under the `projects` key.
:::

## How to Disable
If automerge is enabled, you can disable it for a single `atlantis apply`
command with the `--auto-merge-disabled` option.

## All Plans Must Succeed
When automerge is enabled, **all plans** in a pull request **must succeed** before
**any** plans can be applied.
Expand Down
1 change: 1 addition & 0 deletions runatlantis.io/docs/using-atlantis.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ atlantis apply -w staging
* `-d directory` Apply the plan for this directory, relative to root of repo. Use `.` for root.
* `-p project` Apply the plan for this project. Refers to the name of the project configured in the repo's [`atlantis.yaml` file](repo-level-atlantis-yaml.html). Cannot be used at same time as `-d` or `-w`.
* `-w workspace` Apply the plan for this [Terraform workspace](https://www.terraform.io/docs/state/workspaces.html). If not using Terraform workspaces you can ignore this.
* `--auto-merge-disabled` Disable [automerge](automerging.html) for this apply command.
* `--verbose` Append Atlantis log to comment.

### Additional Terraform flags
Expand Down

0 comments on commit c403d07

Please sign in to comment.