You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/configuration.md
+17-4
Original file line number
Diff line number
Diff line change
@@ -38,13 +38,14 @@ The list of operations to take if the [`#!css action.if`](#actions.if) returned
38
38
39
39
This key controls what kind of action that should be taken.
40
40
41
+
-`#!yaml approve` to approve the Merge Request.
41
42
-`#!yaml close` to close the Merge Request.
42
-
-`#!yaml reopen` to reopen the Merge Request.
43
+
-`#!yaml comment` to add a comment to the Merge Request
43
44
-`#!yaml lock_discussion` to prevent further discussions on the Merge Request.
44
-
-`#!yaml unlock_discussion` to allow discussions on the Merge Request.
45
-
-`#!yaml approve` to approve the Merge Request.
45
+
-`#!yaml reopen` to reopen the Merge Request.
46
46
-`#!yaml unapprove` to approve the Merge Request.
47
-
-`#!yaml comment` to add a comment to the Merge Request
47
+
-`#!yaml unlock_discussion` to allow discussions on the Merge Request.
48
+
-`#!yaml update_description` to update the Merge Request description
48
49
49
50
*Additional fields:*
50
51
@@ -78,6 +79,18 @@ This key controls what kind of action that should be taken.
78
79
label: example
79
80
```
80
81
82
+
-`#!yaml update_description` updates the Merge Request Description
83
+
84
+
*Additional fields:*
85
+
86
+
- (required) `#!css replace` A list of key/value pairs to replace in the description. The `key` is the raw string to replace in the Merge Request description. The `value` is an Expr Lang expression returning a `string` that `key` will be replaced with - all Script Attributes and Script Functions are available within the script.
!!! info "This function *EXCLUDE* changes made by `scm-engine` and other bots, use [`merge_request.has_no_activity_within`](#merge_request.has_no_activity_within) if you want to include those"
0 commit comments