README.md in gitlab-triage-1.3.0 vs README.md in gitlab-triage-1.4.0
- old
+ new
@@ -117,10 +117,12 @@
- [`labels` condition](#labels-condition)
- [`forbidden_labels` condition](#forbidden-labels-condition)
- [`no_additional_labels` condition](#no-additional-labels-condition)
- [`author_member` condition](#author-member-condition)
- [`assignee_member` condition](#assignee-member-condition)
+- [`source_branch` condition](#source-branch-condition)
+- [`target_branch` condition](#target-branch-condition)
- [`ruby` condition](#ruby-condition)
##### Date condition
Accepts a hash of fields.
@@ -380,11 +382,11 @@
source: group
condition: not_member_of
source_id: 9970
```
-##### Assignee Member condition
+##### Assignee member condition
This condition determines whether the assignee of a resource is a member of the specified group or project.
Accepts a hash of fields.
@@ -400,9 +402,31 @@
conditions:
assignee_member:
source: group
condition: not_member_of
source_id: 9970
+```
+
+##### Source branch condition
+
+Accepts the name of a source branch to filter upon.
+
+Example:
+
+```yml
+conditions:
+ source_branch: 'feature-branch'
+```
+
+##### Target branch condition
+
+Accepts the name of a target branch to filter upon.
+
+Example:
+
+```yml
+conditions:
+ target_branch: 'master'
```
##### Ruby condition
This condition allows users to write a Ruby expression to be evaluated for