README.md in gitlab-triage-1.0.0 vs README.md in gitlab-triage-1.0.1
- old
+ new
@@ -589,9 +589,35 @@
actions:
comment: |
{{author}} Are you still interested in finishing this merge request?
```
+###### Harnessing Quick Actions
+
+[GitLab's quick actions feature](https://docs.gitlab.com/ce/user/project/quick_actions.html) is available in Core.
+All of the operations supported by executing a quick action can be carried out via the comment action.
+
+If GitLab triage does not support an operation natively, it may be possible via a quick action in a comment.
+
+For example:
+- Flagging an issue as [confidential](https://docs.gitlab.com/ce/user/project/issues/confidential_issues.html)
+- [Locking issue discussion](https://docs.gitlab.com/ce/user/discussions/#lock-discussions)
+
+```yml
+resource_rules:
+ issues:
+ rules:
+ - name: Mark bugs as confidential
+ conditions:
+ state: opened
+ ruby: !resource[:confidential]
+ labels:
+ - bug
+ actions:
+ comment: |
+ /confidential
+```
+
###### Ruby expression
The comment can also contain Ruby expression, using Ruby's own string
interpolation syntax: `#{ expression }`. This gives you the most flexibility.
Suppose you want to mention the next active milestone relative to the one