File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ id : milestoneAssignment.prClosed
2
+ name : Auto Assign Milestone to Merged PRs
3
+ description : Automatically assigns milestones to pull requests when they are merged based on target branch
4
+ owner :
5
+ resource : repository
6
+ disabled : false
7
+ where :
8
+ configuration :
9
+ resourceManagementConfiguration :
10
+ eventResponderTasks :
11
+ - if :
12
+ - payloadType : Pull_Request
13
+ - isAction :
14
+ action : Closed
15
+ - targetsBranch :
16
+ branch : main
17
+ then :
18
+ - addMilestone :
19
+ milestone : 9.5
20
+ description : ' [Milestone Assignments] Assign Milestone to PRs merged to the `main` branch'
21
+ - if :
22
+ - payloadType : Pull_Request
23
+ - isAction :
24
+ action : Closed
25
+ - targetsBranch :
26
+ branch : release/9.4
27
+ then :
28
+ - removeMilestone
29
+ - addMilestone :
30
+ milestone : 9.4.1
31
+ description : ' [Milestone Assignments] Assign Milestone to PRs merged to release/9.4 branch'
You can’t perform that action at this time.
0 commit comments