File tree Expand file tree Collapse file tree 4 files changed +61
-17
lines changed Expand file tree Collapse file tree 4 files changed +61
-17
lines changed Original file line number Diff line number Diff line change
1
+ id :
2
+ name : GitOps.PullRequestIssueManagement
3
+ description : GitOps.PullRequestIssueManagement primitive
4
+ owner :
5
+ resource : repository
6
+ disabled : false
7
+ where :
8
+ configuration :
9
+ resourceManagementConfiguration :
10
+ eventResponderTasks :
11
+ - description : Approve and auto-squash-merge bot PRs to main labeled 'auto-merge'
12
+ triggerOnOwnActions : true
13
+ if :
14
+ - payloadType : Pull_Request
15
+ - labelAdded :
16
+ label : ' :octocat: auto-merge'
17
+ - targetsBranch :
18
+ branch : main
19
+ - isActivitySender :
20
+ user : microsoft-github-policy-service[bot]
21
+ then :
22
+ - enableAutoMerge :
23
+ mergeMethod : Squash
24
+ - approvePullRequest :
25
+ comment : " Approved; this PR will merge when all status checks pass."
26
+
27
+ - description : Auto-merge policy service bot PRs to live labeled 'auto-merge'
28
+ triggerOnOwnActions : true
29
+ if :
30
+ - payloadType : Pull_Request
31
+ - labelAdded :
32
+ label : ' :octocat: auto-merge'
33
+ - targetsBranch :
34
+ branch : live
35
+ - isActivitySender :
36
+ user : microsoft-github-policy-service[bot]
37
+ then :
38
+ - enableAutoMerge :
39
+ mergeMethod : Merge
40
+
41
+ - description : Don't auto-merge PRs with 'auto-merge' label removed
42
+ if :
43
+ - payloadType : Pull_Request
44
+ - labelRemoved :
45
+ label : ' :octocat: auto-merge'
46
+ then :
47
+ - disableAutoMerge
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ configuration:
16
16
head : main
17
17
base : live
18
18
title : Merge main into live
19
- body : Automated merge of the main branch into live, syncing documentation content to the production environment.
19
+ body : Automated merge of the main branch into live.
20
+
20
21
- description : Push to live branch (scheduled 7PM PT publish)
21
22
frequencies :
22
23
- daily :
@@ -27,7 +28,8 @@ configuration:
27
28
head : main
28
29
base : live
29
30
title : Merge main into live
30
- body : Automated merge of the main branch into live, syncing documentation content to the production environment.
31
+ body : Automated merge of the main branch into live.
32
+
31
33
- description : Push to live branch (scheduled 3AM PT publish)
32
34
frequencies :
33
35
- daily :
@@ -38,4 +40,4 @@ configuration:
38
40
head : main
39
41
base : live
40
42
title : Merge main into live
41
- body : Automated merge of the main branch into live, syncing documentation content to the production environment .
43
+ body : Automated merge of the main branch into live.
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ configuration:
16
16
head : smoke-test
17
17
base : main
18
18
title : Merge smoke-test into main
19
- body : Automated merge of the smoke-test branch into main, syncing API documentation content to the staging environment.
19
+ body : Automated merge of the smoke-test branch into main.
20
+
20
21
- description : Push to main branch (scheduled 6PM PT publish)
21
22
frequencies :
22
23
- daily :
@@ -27,7 +28,8 @@ configuration:
27
28
head : smoke-test
28
29
base : main
29
30
title : Merge smoke-test into main
30
- body : Automated merge of the smoke-test branch into main, syncing API documentation content to the staging environment.
31
+ body : Automated merge of the smoke-test branch into main.
32
+
31
33
- description : Push to main branch (scheduled 2AM PT publish)
32
34
frequencies :
33
35
- daily :
@@ -38,4 +40,4 @@ configuration:
38
40
head : smoke-test
39
41
base : main
40
42
title : Merge smoke-test into main
41
- body : Automated merge of the smoke-test branch into main, syncing API documentation content to the staging environment .
43
+ body : Automated merge of the smoke-test branch into main.
Original file line number Diff line number Diff line change 8
8
configuration :
9
9
resourceManagementConfiguration :
10
10
eventResponderTasks :
11
- - description : Sync API documentation to staging environment.
11
+ - description : Sync API docs to staging
12
12
triggerOnOwnActions : true
13
13
if :
14
14
- payloadType : Pull_Request
@@ -22,11 +22,8 @@ configuration:
22
22
then :
23
23
- addLabel :
24
24
label : ' :octocat: auto-merge'
25
- - enableAutoMerge :
26
- mergeMethod : Squash
27
- - approvePullRequest :
28
- comment : ' :shipit:'
29
- - description : Sync staging environment to production.
25
+
26
+ - description : Sync staging to production
30
27
triggerOnOwnActions : true
31
28
if :
32
29
- payloadType : Pull_Request
@@ -39,8 +36,4 @@ configuration:
39
36
isRegex : False
40
37
then :
41
38
- addLabel :
42
- label : ' :octocat: auto-merge'
43
- - enableAutoMerge :
44
- mergeMethod : Merge
45
- - approvePullRequest :
46
- comment : ' :shipit:'
39
+ label : ' :octocat: auto-merge'
You can’t perform that action at this time.
0 commit comments