diff --git a/docs/execution-model.md b/docs/execution-model.md index 64a606386..32c5a7ec2 100644 --- a/docs/execution-model.md +++ b/docs/execution-model.md @@ -63,22 +63,22 @@ Additionally, the `on` keyword defines specific events that trigger automations. The table below lists supported explicit triggers, categorized into those enabled by default and those that require manual activation.
-| Triggering event | Explicit Trigger :fontawesome-brands-github: | Default (implicit triggers) | -| --------------------------------------------------------------------- | -------------------------------------------- | ------------------------------ | -| Checks finished | - | When an automation uses the `wait_for_all_checks` action | -| Comment added | `comment_added` | when `pr.comment` in `.cm` | -| :fontawesome-brands-github: Comment edited | - | when `pr.comment` in `.cm` | -| Commit pushed | `commit` | `on` | -| Creating a PR | `pr_created` | `on` | -| Description changed | - | when `pr.description` in `.cm` | -| Label added | `label_added` | when `pr.label` in `.cm` | -| Label removed | `label_removed` | when `pr.label` in `.cm` | -| :fontawesome-brands-github: Merging the PR | `merge` | `off` | -| Title change | - | when `pr.title` in `.cm` | -| :fontawesome-brands-github: Transition from draft to ready for review | `pr_ready_for_review` | `off` | -| :fontawesome-brands-github: Transition from any state to closed | `pr_closed` | `off` | -| :fontawesome-brands-github: Transition from closed to open | `pr_reopened` | `off` | -| :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 | +| Triggering event | Explicit Trigger :fontawesome-brands-github: | Default | Conditions | +| --------------------------------------------------------------------- | -------------------------------------------- | ------- | ------------- | +| Checks finished | - | `on` | when an automation uses the `wait_for_all_checks` action | +| Comment added | `comment_added` | `on` | when `pr.comment` in `.cm` | +| :fontawesome-brands-github: Comment edited | - | `on` | when `pr.comment` in `.cm` | +| Commit pushed | `commit` | `on` | | +| Creating a PR | `pr_created` | `on` | when not a draft | +| Description changed | - | `on` | when `pr.description` in `.cm` | +| Label added | `label_added` | `on` | when `pr.label` in `.cm` | +| Label removed | `label_removed` | `on` | when `pr.label` in `.cm` | +| :fontawesome-brands-github: Merging the PR | `merge` | `off` | | +| Title change | - | `on` | when `pr.title` in `.cm` | +| Transition from draft to ready for review | `pr_ready_for_review` | `on` | | +| :fontawesome-brands-github: Transition from any state to closed | `pr_closed` | `off` | | +| :fontawesome-brands-github: Transition from closed to open | `pr_reopened` | `off` | | +| :fontawesome-brands-github: Transition from any state to approved | `pr_approved` | `on` | If there is an automation with one of the actions: `require-reviewers`, `set-required-approvals` or `merge`, or uses `pr.approvals` context variable |
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. diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 5911d6b8d..a31d4da61 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -25,7 +25,7 @@ div.filter-details th:nth-child(1){ } div.trigger-details th:nth-child(2){ - width: 30%; + width: 25%; } div.commands-details th:nth-child(1){