1
- id :
2
1
name : GitOps.PullRequestIssueManagement
3
2
description : GitOps.PullRequestIssueManagement primitive
4
- owner :
5
3
resource : repository
6
- disabled : false
7
- where :
4
+
8
5
configuration :
9
6
resourceManagementConfiguration :
10
7
eventResponderTasks :
11
- - if :
8
+ - description : Auto-squash-merge PRs to main labeled with auto-merge
9
+ triggerOnOwnActions : true
10
+ if :
12
11
- payloadType : Pull_Request
13
12
- labelAdded :
14
13
label : ' :octocat: auto-merge'
@@ -17,9 +16,10 @@ configuration:
17
16
then :
18
17
- enableAutoMerge :
19
18
mergeMethod : Squash
19
+
20
+ - description : Auto-merge PRs to live labeled with auto-merge
20
21
triggerOnOwnActions : true
21
- description : Auto-squash-merge PRs to main labeled with auto-merge
22
- - if :
22
+ if :
23
23
- payloadType : Pull_Request
24
24
- labelAdded :
25
25
label : ' :octocat: auto-merge'
@@ -28,26 +28,11 @@ configuration:
28
28
then :
29
29
- enableAutoMerge :
30
30
mergeMethod : Merge
31
- triggerOnOwnActions : true
32
- description : Auto-merge PRs to live labeled with auto-merge
33
- - if :
34
- - payloadType : Pull_Request
35
- - isAction :
36
- action : Opened
37
- - titleContains :
38
- pattern : Merge main into live
39
- isRegex : False
40
- - targetsBranch :
41
- branch : live
42
- then :
43
- - enableAutoMerge :
44
- mergeMethod : Merge
45
- triggerOnOwnActions : true
46
- description : Auto-merge PRs to live with title "Merge main into live"
47
- - if :
31
+
32
+ - description : Don't auto-merge PRs with auto-merge label removed
33
+ if :
48
34
- payloadType : Pull_Request
49
35
- labelRemoved :
50
36
label : ' :octocat: auto-merge'
51
37
then :
52
38
- disableAutoMerge
53
- description : Don't auto-merge PRs with auto-merge label removed
0 commit comments