diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 11a0b0afce02..f03344890101 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -186,7 +186,7 @@ configuration: - isPullRequest - isOpen - hasLabel: - label: 'Type: Dependency Update :arrow_up_small:' + label: 'build-ops' - noActivitySince: days: 1 actions: @@ -201,7 +201,7 @@ configuration: - isPullRequest - isOpen - hasLabel: - label: 'Type: Dependency Update :arrow_up_small:' + label: 'build-ops' - noActivitySince: days: 3 actions: @@ -286,6 +286,26 @@ configuration: - approvePullRequest: comment: Auto-approving dependency update. description: '[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests' + - if: + - payloadType: Pull_Request + - isAction: + action: Opened + - isActivitySender: + user: dotnet-maestro[bot] + issueAuthor: False + - targetsBranch: + branch: main + - or: + - titleContains: + pattern: Update dependencies + isRegex: False + - titleContains: + pattern: Source code updates + isRegex: False + then: + - addLabel: + label: 'build-ops' + description: '[Infrastructure PRs] Add build-ops label to dependency update Pull Requests against main' - if: - payloadType: Pull_Request - isAction: @@ -303,6 +323,8 @@ configuration: label: area-infrastructure - addLabel: label: 'Type: Merge Forward :fast_forward:' + - addLabel: + label: 'build-ops' - approvePullRequest: comment: Auto-approving branch merge. description: '[Infrastructure PRs] Add area-infrastructure label to auto-merge Pull Requests' @@ -534,16 +556,16 @@ configuration: - isAction: action: Opened - targetsBranch: - branch: release/2.1 + branch: release/2.3 then: - addMilestone: - milestone: 2.1.x + milestone: 2.3.x - addReply: reply: >- Hi @${issueAuthor}. If this is not a tell-mode PR, please make sure to follow the instructions laid out in the [servicing process](https://aka.ms/aspnet/servicing) document. Otherwise, please add `tell-mode` label. - description: Add release/2.1 targeting PRs to the servicing project + description: Add release/2.3 targeting PRs to the servicing project - if: - payloadType: Pull_Request - labelAdded: @@ -690,6 +712,8 @@ configuration: label: area-infrastructure - addLabel: label: 'Type: Dependency Update :arrow_up_small:' + - addLabel: + label: 'build-ops' - approvePullRequest: comment: Auto-approving SDK update. - enableAutoMerge: @@ -709,6 +733,8 @@ configuration: label: area-infrastructure - addLabel: label: 'Type: Dependency Update :arrow_up_small:' + - addLabel: + label: 'build-ops' - approvePullRequest: comment: Auto-approving dependabot update. - enableAutoMerge: