Skip to content

Commit 6c3fa30

Browse files
authored
docs: Add new env vars to the docs (#5931)
Signed-off-by: Filipe Felisbino <[email protected]>
1 parent e900f06 commit 6c3fa30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runatlantis.io/docs/custom-workflows.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,9 @@ Full example, filtering output and masking matching text (`mySecret: "foo"` -> `
663663
* `USER_NAME` - Username of the VCS user running command, ex. `acme-user`. During an autoplan, the user will be the Atlantis API user, ex. `atlantis`.
664664
* `COMMENT_ARGS` - Any additional flags passed in the comment on the pull request. Flags are separated by commas and
665665
every character is escaped, ex. `atlantis plan -- arg1 arg2` will result in `COMMENT_ARGS=\a\r\g\1,\a\r\g\2`.
666+
* `ATLANTIS_PR_APPROVED` - "true" if the PR is approved
667+
* `ATLANTIS_PR_MERGEABLE` - "true" if the PR is mergeable
668+
666669
* A custom command will only terminate if all output file descriptors are closed.
667670
Therefore a custom command can only be sent to the background (e.g. for an SSH tunnel during
668671
the terraform run) when its output is redirected to a different location. For example, Atlantis

0 commit comments

Comments
 (0)