Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 7 additions & 22 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,6 @@ configuration:

eventResponderTasks:

- description: Auto-approve auto-merge PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
- isPullRequest
- labelAdded:
label: auto-merge
- or:
- activitySenderHasPermission:
permission: Admin
- isActivitySender:
user: dotnet-bot
issueAuthor: False
then:
- approvePullRequest:
comment: Auto-approval

- description: Auto-approve maestro PRs
triggerOnOwnActions: false
if:
Expand Down Expand Up @@ -80,7 +63,7 @@ configuration:
- addMilestone:
milestone: Next

- description: Auto-approve OneLoc PRs
- description: Auto-approve/merge OneLoc PRs
triggerOnOwnActions: false
if:
- payloadType: Pull_Request
Expand All @@ -94,8 +77,10 @@ configuration:
- isAction:
action: Opened
then:
- addLabel:
label: auto-merge
- approvePullRequest:
comment: Auto-approve
- enableAutoMerge:
mergeMethod: merge

- description: Auto-approve/merge automated merge PRs
triggerOnOwnActions: false
Expand All @@ -113,8 +98,8 @@ configuration:
then:
- approvePullRequest:
comment: Auto-approve
- addLabel:
label: auto-merge
- enableAutoMerge:
mergeMethod: merge

- description: Remove "Need More Info" on comment
triggerOnOwnActions: false
Expand Down