You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/execution-model.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ The table below lists supported explicit triggers, categorized into those enable
56
56
| :fontawesome-brands-github: Transition from draft to ready for review |`pr_ready_for_review`|`off`|
57
57
| :fontawesome-brands-github: transition from any state to closed |`pr_closed`|`off`|
58
58
| :fontawesome-brands-github: transition from closed to open |`pr_reopened`|`off`|
59
-
| :fontawesome-brands-github: Approving the PR |`pr_approved`|`off`|
59
+
| :fontawesome-brands-github: Transition from any state to approved|`pr_approved`|If there is an automation with one of the actions: `require-reviewers`, `set-required-approvals` or `merge`, or uses `pr.approvals` context variable|
60
60
61
61
Explicit triggers are set independently per each automation block and can be configured at the file level, specific to each automation separately or in combination. If triggers are listed at the file level **and** specific automation, the automation will be triggered according to both triggers.
62
62
If an automation block does not have explicit triggers configured, it will be triggered according to the default (implicit) triggers.
@@ -73,7 +73,7 @@ If an automation block does not have explicit triggers configured, it will be tr
73
73
74
74
**Exclude/Include prioritization**
75
75
76
-
- Exclude overrides the include option. Thus, a repo will be excluded when a it matches both the include and exclude lists.
76
+
- Exclude overrides the include option. Thus, a repo will be excluded when it matches the include and exclude lists.
77
77
78
78
In the following example, the automations in the file will be triggered for all repositories that contain the string `feature`, except for the repository `my_feature`
79
79
```yaml+jinja
@@ -90,7 +90,7 @@ If an automation block does not have explicit triggers configured, it will be tr
90
90
91
91
#### Dependabot and Renovate
92
92
93
-
For example, you can have your normal automations that help developers with their PRs and a separate automation that automates Dependabot or Renovate version bumps. Both automations serve distinctly different purposes: the first helps your developers streamline their PRs, while the other reduces developers' toil by auto-approving version bumps. You will not want to trigger gitStream for Dependabot or Renovate unnecessarily, so you can configure the triggers to exclude the branch where Dependabot or Renovate PRs are created.
93
+
For example, you can have your normal automations that help developers with their PRs and a separate automation that automates Dependabot or Renovate version bumps. Both automations serve distinctly different purposes: the first helps your developers streamline their PRs, while the other reduces developers' toil by auto-approving version bumps. You will not want to unnecessarily trigger gitStream for Dependabot or Renovate, so you can configure the triggers to exclude the branch where Dependabot or Renovate PRs are created.
94
94
95
95
!!! warning "Required gitStream Plugins"
96
96
This example requires you to install the [`extractDependabotVersionBump`](/filter-function-plugins/#extractdependabotversionbump) and [`compareSemver`](/filter-function-plugins/#comparesemver) plugins.
0 commit comments