Skip to content

Commit 86e8d43

Browse files
committed
One more
1 parent 8075ac7 commit 86e8d43

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/policies/resourceManagement.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,26 @@ configuration:
286286
- approvePullRequest:
287287
comment: Auto-approving dependency update.
288288
description: '[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests'
289+
- if:
290+
- payloadType: Pull_Request
291+
- isAction:
292+
action: Opened
293+
- isActivitySender:
294+
user: dotnet-maestro[bot]
295+
issueAuthor: False
296+
- targetsBranch:
297+
branch: main
298+
- or:
299+
- titleContains:
300+
pattern: Update dependencies
301+
isRegex: False
302+
- titleContains:
303+
pattern: Source code updates
304+
isRegex: False
305+
then:
306+
- addLabel:
307+
label: 'build-ops'
308+
description: '[Infrastructure PRs] Add build-ops label to dependency update Pull Requests against main'
289309
- if:
290310
- payloadType: Pull_Request
291311
- isAction:

0 commit comments

Comments
 (0)