Skip to content

Commit 0c6d20c

Browse files
authored
Merge pull request #714 from linear-b/add-checks-triggers
Alphabetize and standardize trigger events table in docs
2 parents adf44f1 + d12bdf5 commit 0c6d20c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/execution-model.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,19 @@ The table below lists supported explicit triggers, categorized into those enable
5757
<div class="trigger-details" markdown=1>
5858
| Triggering event | Explicit Trigger :fontawesome-brands-github: | Default (implicit triggers) |
5959
| --------------------------------------------------------------------- | -------------------------------------------- | ------------------------------ |
60+
| Checks finished | - | When an automation uses the `wait_for_all_checks` action |
61+
| Comment added | `comment_added` | when `pr.comment` in `.cm` |
62+
| :fontawesome-brands-github: Comment edited | - | when `pr.comment` in `.cm` |
63+
| Commit pushed | `commit` | `on` |
6064
| Creating a PR | `pr_created` | `on` |
61-
| Commit | `commit` | `on` |
62-
| Adding label | `label_added` | when `pr.label` in `.cm` |
63-
| Removing label | `label_removed` | when `pr.label` in `.cm` |
65+
| Description changed | - | when `pr.description` in `.cm` |
66+
| Label added | `label_added` | when `pr.label` in `.cm` |
67+
| Label removed | `label_removed` | when `pr.label` in `.cm` |
6468
| :fontawesome-brands-github: Merging the PR | `merge` | `off` |
65-
| Adding new comment | `comment_added` | when `pr.comment` in `.cm` |
66-
| :fontawesome-brands-github: Editing an existing comment | - | when `pr.comment` in `.cm` |
6769
| Title change | - | when `pr.title` in `.cm` |
68-
| Description change | - | when `pr.description` in `.cm` |
6970
| :fontawesome-brands-github: Transition from draft to ready for review | `pr_ready_for_review` | `off` |
70-
| :fontawesome-brands-github: transition from any state to closed | `pr_closed` | `off` |
71-
| :fontawesome-brands-github: transition from closed to open | `pr_reopened` | `off` |
71+
| :fontawesome-brands-github: Transition from any state to closed | `pr_closed` | `off` |
72+
| :fontawesome-brands-github: Transition from closed to open | `pr_reopened` | `off` |
7273
| :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 |
7374
</div>
7475

0 commit comments

Comments
 (0)