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
// and the label to disable this feature is not on the MR
13
+
&& not merge_request.has_label("do-not-close")
14
+
then:
15
+
- action: comment
16
+
message: |
17
+
Hello!
18
+
19
+
This Merge Request have not seen any commit activity for 30 days. In an effort to keep our project clean we will automatically close the Merge request after 45 days.
20
+
21
+
You can add the "do-not-close" label to the Merge Request to disable this behavior.
This Merge Request have not seen any commit activity for 45 days. In an effort to keep our project clean we will automatically close the Merge request.
35
+
36
+
You can add the "do-not-close" label to the Merge Request to disable this behavior.
37
+
38
+
- name: Approve MR if the 'break-glass-approve' label is configured
39
+
if: |
40
+
merge_request.state != "closed"
41
+
&& not merge_request.approved
42
+
&& merge_request.has_label("break-glass-approve")
43
+
then:
44
+
- action: approve
45
+
- action: comment
46
+
message: "Approving the MR since it has the 'break-glass-approve' label. Talk to ITGC about this!"
0 commit comments