• Docs
  • Common Use Cases
  • Custom Workflows
  • Gitflow Workflow

Gitflow Workflow

A Gitflow-style workflow can be accomplished with Destination Branches.

The following example will trigger a Terrateam operation when performing a pull request against any release branch. It also triggers a Terrateam operation on pull requests against main, but only with a hotfix source branch.

  - branch: main
    source_branches: ['hotfix/*']
  - branch: 'release/*'