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
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Execution Model
1
+
# Trigger Control
2
2
3
3
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.
4
4
@@ -10,12 +10,12 @@ When a central `cm` repository is set with the CI/CD runner, the events for PRs
10
10
11
11
Free accounts have a monthly limit on the number of PRs that can trigger automations. Once this limit is reached:
12
12
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.
17
17
18
-
To remove automation limits, <ahref="https://linearb.io/contact-us"target="_blank">Contact LinearB</a> and upgrade to a paid plan.
18
+
To remove automation limits, <ahref="https://linearb.io/contact-us"target="_blank">Contact LinearB</a> and upgrade to a paid plan.
19
19
🔗 Learn more: [Automation Limits](limits.md)
20
20
21
21
## Triggering Mechanism
@@ -71,6 +71,9 @@ The table below lists supported explicit triggers, categorized into those enable
71
71
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.
72
72
If an automation block does not have explicit triggers configured, it will be triggered according to the default (implicit) triggers.
73
73
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
+
74
77
**Note on Matching:**
75
78
76
79
- 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.
0 commit comments