Triggers

Triggers are events that prompt the evaluation of a rule. They could be events such as a pull request being opened or updated with new commits.

If no triggers are explicitly defined for a rule, they may be implied from the variables used in conditions. For example, the variable behind could change when the triggers pr_created and pr_updated are activated, so if the rule doesn't explicitly set a trigger, these two are added automatically.

Available triggers

  • pr_updated - Pull request updated

  • pr_created - Pull request created

  • pr_closed - Pull request closed

  • status_updated - Commit status updated

  • review_updated - Pull request review updated

  • base_branch_updated - Pull request's base branch updated

  • pr_reopened - Pull request reopened