diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 377d9af57de5..2157f88a9f7c 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -443,28 +443,6 @@ configuration: - addMilestone: 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-rc2 - then: - - removeMilestone - - addMilestone: - milestone: 10.0-rc2 - description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0-rc2 branch' - - if: - - payloadType: Pull_Request - - isAction: - action: Closed - - targetsBranch: - branch: release/10.0 - then: - - removeMilestone - - addMilestone: - milestone: 10.0.0 - description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0 branch' - if: - payloadType: Issues - isAction: @@ -635,6 +613,17 @@ configuration: - addReply: reply: Hi @${issueAuthor}. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. description: '[Servicing PR Approved] Let the author know that the PR will be merged by the build team' + - if: + - payloadType: Pull_Request + - isAction: + action: Closed + - targetsBranch: + branch: release/10.0 + then: + - removeMilestone + - addMilestone: + milestone: 10.0.0 + description: '[Milestone Assignments] Assign Milestone to PRs merged to release/10.0 branch' - if: - payloadType: Pull_Request - isAction: @@ -644,7 +633,7 @@ configuration: then: - removeMilestone - addMilestone: - milestone: 9.0.10 + milestone: 9.0.11 description: '[Milestone Assignments] Assign Milestone to PRs merged to release/9.0 branch' - if: - payloadType: Pull_Request @@ -655,7 +644,7 @@ configuration: then: - removeMilestone - addMilestone: - milestone: 8.0.21 + milestone: 8.0.22 description: '[Milestone Assignments] Assign Milestone to PRs merged to release/8.0 branch' - if: - payloadType: Issues @@ -777,3 +766,4 @@ onSuccess: +