Skip to content

Commit

Permalink
Update Docs for fail-on-pre-workflow-hook-error (#3731)
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Guardian authored Sep 2, 2023
1 parent 86f8e6d commit 1ee108b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions runatlantis.io/docs/pre-workflow-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ workflows](custom-workflows.html#custom-run-command) in several ways.

Pre workflow hooks can only be specified in the Server-Side Repo Config under the
`repos` key.

::: tip Note
`pre-workflow-hooks` do not prevent Atlantis from executing its
workflows(`plan`, `apply`) even if a `run` command exits with an error.
By default, `pre-workflow-hooks` do not prevent Atlantis from executing its
workflows(`plan`, `apply`) even if a `run` command exits with an error. This
behavior can be changed by setting the [fail-on-pre-workflow-hook-error](server-configuration.html#fail-on-pre-workflow-hook-error)
flag in the Atlantis server configuration.
:::

## Use Cases
Expand Down

0 comments on commit 1ee108b

Please sign in to comment.