Skip to content

Commit f9b6bcd

Browse files
authored
Merge pull request #604 from linear-b/trigggers-refinement
trigggers-refinement
2 parents 6cfb5be + 7c9e705 commit f9b6bcd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/execution-model.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ Triggers can be defined globally at the file level or specifically for each auto
2626

2727
#### `triggers` section
2828

29-
Use explicit triggers to enhance the control and customization of automations in gitStream, when you need to define precisely when and how automations should be triggered based on various events and actions within pull requests.
29+
The `triggers` section in gitStream gives you precise control over when automations execute. It allows you to define conditions based on pull request events using `include` and `exclude` lists to specify branch and repository patterns. These lists determine which branches or repositories trigger or bypass automation but do not affect the events initiating automations.
3030

31-
The `triggers` is section specifies when automations are executed, supporting `include` and `exclude` lists for branch and repository patterns at the file level.
32-
33-
The `on` keyword can also be used within individual automations to define specific events that trigger those automations. Add the `on` keyword under the `triggers` key in the file and/or to a specific automation to define explicit triggers.
31+
Additionally, the `on` keyword defines specific events that trigger automations. It can be added at the file level (under the `triggers` section) or within individual automations for greater customization. Multiple triggers can be stacked, meaning gitStream will execute the automation for each matching triggering event, allowing flexibility in defining automation behavior
3432

3533
| Key | Type | Description |
3634
| ----------------------------------------------------- | ----------------- | -------------------------------------------------------------- |

0 commit comments

Comments
 (0)