Skip to content

Commit ffc8d54

Browse files
authored
Merge pull request #619 from linear-b/fix-texts-in-execution-model
fix texts in execution
2 parents 2f8567a + 1cbd120 commit ffc8d54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/execution-model.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The table below lists supported explicit triggers, categorized into those enable
5656
| :fontawesome-brands-github: Transition from draft to ready for review | `pr_ready_for_review` | `off` |
5757
| :fontawesome-brands-github: transition from any state to closed | `pr_closed` | `off` |
5858
| :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 |
6060

6161
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.
6262
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
7373

7474
**Exclude/Include prioritization**
7575

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.
7777

7878
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`
7979
```yaml+jinja
@@ -90,7 +90,7 @@ If an automation block does not have explicit triggers configured, it will be tr
9090
9191
#### Dependabot and Renovate
9292
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.
9494
9595
!!! warning "Required gitStream Plugins"
9696
This example requires you to install the [`extractDependabotVersionBump`](/filter-function-plugins/#extractdependabotversionbump) and [`compareSemver`](/filter-function-plugins/#comparesemver) plugins.

0 commit comments

Comments
 (0)