Skip to main content

Checkout Strategy

The checkout_strategy directive can be used to define how Terrateam checks code out from the pull request.

Keys

KeyTypeDescription
checkout_strategystringHow Terrateam performs a code checkout from the pull request

Default Configuration

checkout_strategy: merge

Merge

Check out the source branch of the pull request and merge the repository default branch into the source branch

checkout_strategy: merge

The merge is executed a single time that is local to the terrateam plan execution environment in the very start of the GitHub Action workflow run.

Checkout

Only check out the source branch of the pull request

checkout_strategy: checkout