Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
doc(doc/userguide.md): add DefaultBranch, HasFile, NoneOf, AnyOf, AllOf
Merged liw opened 1 year ago

Also sort table alphabetically, for easier skimming.

Signed-off-by: Lars Wirzenius liw@liw.fi

1 file changed +18 -16 3fffb2fc a01aa8ce
modified doc/userguide.md
@@ -122,22 +122,24 @@ AND/OR/NOT operators to build a filter expression: if the expression
evaluates as "true", the event is allowed and will trigger a CI run.
Otherwise it is discarded and does not trigger a CI run.

-
| Condition       | Meaning                                                   |
-
|:----------------|:----------------------------------------------------------|
-
| `Node`          | Event originated from a specific node, identified by ID   |
-
| `Repository`    | Event refers to a specific repository, identified by ID   |
-
| `Branch`        | Event refers to a specific Git branch                     |
-
| `BranchCreated` | Branch was created                                        |
-
| `BranchUpdated` | Branch was updated                                        |
-
| `BranchDeleted` | Branch was deleted                                        |
-
| `Patch`         | Event refers to a specific patch, identified by ID        |
-
| `PatchCreated`  | Patch was created                                         |
-
| `PatchUpdated`  | Patch was updated                                         |
-
| `Allow`         | Change is allowed                                         |
-
| `Deny`          | Changes is not allowed                                    |
-
| `Not`           | Change is allowed is the operand expressions are is false |
-
| `And`           | Change is allowed if all the operands are true            |
-
| `Or`            | Change is allows if any of the operands is true           |
+
| Condition         | Meaning                                                   |
+
|:------------------|:----------------------------------------------------------|
+
| `Allow`           | Change is allowed                                         |
+
| `And` or `AllOf`  | Change is allowed if all the operands are true            |
+
| `BranchCreated`   | Branch was created                                        |
+
| `BranchDeleted`   | Branch was deleted                                        |
+
| `BranchUpdated`   | Branch was updated                                        |
+
| `Branch`          | Event refers to a specific Git branch                     |
+
| `DefaultBranch`   | Event refers to a default branch of the repository        |
+
| `Deny`            | Changes is not allowed                                    |
+
| `HasFile`         | Commit in event contains named file                       |
+
| `Node`            | Event originated from a specific node, identified by ID   |
+
| `Not` or `NoneOf` | Change is allowed is the operand expressions are is false |
+
| `Or` or `AnyOf`   | Change is allows if any of the operands is true           |
+
| `PatchCreated`    | Patch was created                                         |
+
| `PatchUpdated`    | Patch was updated                                         |
+
| `Patch`           | Event refers to a specific patch, identified by ID        |
+
| `Repository`      | Event refers to a specific repository, identified by ID   |

## Example