Skip to content

Commit b605c52

Browse files
authored
Merge pull request #685 from linear-b/trigger-improvments
Rename execution model documentation to trigger control
2 parents 1e124b0 + 87909c0 commit b605c52

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

docs/execution-model.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Execution Model
1+
# Trigger Control
22

33
gitStream is triggered on new pull requests (PRs) for repositories that have gitStream installed. Upon triggering, gitStream collects context variables and evaluates the automation rules to determine which ones are relevant.
44

@@ -10,12 +10,12 @@ When a central `cm` repository is set with the CI/CD runner, the events for PRs
1010

1111
Free accounts have a monthly limit on the number of PRs that can trigger automations. Once this limit is reached:
1212

13-
- PRs will still be created, but gitStream will skip automations for them.
14-
- The gitStream check on these PRs will be concluded as `Skipped`, to ensure that gitStream will not block the PR from merging.
15-
- A warning is displayed in PR comments when the organization reaches 90% of its quota.
16-
- The limit resets at the start of each month.
13+
- PRs will still be created, but gitStream will skip automations for them.
14+
- The gitStream check on these PRs will be concluded as `Skipped`, to ensure that gitStream will not block the PR from merging.
15+
- A warning is displayed in PR comments when the organization reaches 90% of its quota.
16+
- The limit resets at the start of each month.
1717

18-
To remove automation limits, <a href="https://linearb.io/contact-us" target="_blank">Contact LinearB</a> and upgrade to a paid plan.
18+
To remove automation limits, <a href="https://linearb.io/contact-us" target="_blank">Contact LinearB</a> and upgrade to a paid plan.
1919
🔗 Learn more: [Automation Limits](limits.md)
2020

2121
## Triggering Mechanism
@@ -71,6 +71,9 @@ The table below lists supported explicit triggers, categorized into those enable
7171
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.
7272
If an automation block does not have explicit triggers configured, it will be triggered according to the default (implicit) triggers.
7373

74+
!!! Note
75+
The `on` parameter can be used within individual automation blocks, while `triggers.include` and `triggers.exclude` can only be defined at the file level.
76+
7477
**Note on Matching:**
7578

7679
- When using a `String` as the matching type, the values in `triggers.include.*` and `triggers.exclude.*` require exact matches. This means that the names of branches or repositories must exactly match the specified string to either trigger or prevent triggering the automation.

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ nav:
2121
- Integrations: integrations/README.md
2222
- Reference:
2323
- Configuration: cm-file.md
24-
- Execution: execution-model.md
24+
- Trigger Control: execution-model.md
2525
- Automation Limits: limits.md
2626
- Context variables: context-variables.md
2727
- Filter functions: filter-functions.md

0 commit comments

Comments
 (0)