Browse Source

Update milestones for rc2 (#63359)

William Godbe 6 months ago
parent
commit
6d3e710702
1 changed files with 16 additions and 4 deletions
  1. 16 4
      .github/policies/resourceManagement.yml

+ 16 - 4
.github/policies/resourceManagement.yml

@@ -441,19 +441,30 @@ configuration:
           branch: main
       then:
       - addMilestone:
-          milestone: 10.0-rc1
+          milestone: 11.0-preview1
       description: '[Milestone Assignments] Assign Milestone to PRs merged to the `main` branch'
     - if:
       - payloadType: Pull_Request
       - isAction:
           action: Closed
       - targetsBranch:
-          branch: release/10.0-preview7
+          branch: release/10.0-rc1
+      then:
+      - removeMilestone
+      - addMilestone:
+          milestone: 10.0-rc1
+      description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0-rc1 branch'
+    - if:
+      - payloadType: Pull_Request
+      - isAction:
+          action: Closed
+      - targetsBranch:
+          branch: release/10.0
       then:
       - removeMilestone
       - addMilestone:
-          milestone: 10.0-preview7
-      description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0-preview1 branch'
+          milestone: 10.0-rc2
+      description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0 branch'
     - if:
       - payloadType: Issues
       - isAction:
@@ -763,3 +774,4 @@ onFailure:
 onSuccess: 
 
 
+