forked from dotnet/efcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FabricBot: Onboarding to GitOps.ResourceManagement because of FabricB…
…ot decommissioning (dotnet#32897) * Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement Details on the replacement service and the syntax of the new yaml configuration file is available publicly at: https://microsoft.github.io/GitOps/policies/resource-management.html Please review and merge this PR to complete the process of onboarding to the new service. * Deleting fabricbot.json --------- Co-authored-by: dotnet-policy-service[bot] <123482357+dotnet-policy-service[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5677e30
commit 5ea85b5
Showing
2 changed files
with
66 additions
and
165 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
id: | ||
name: GitOps.PullRequestIssueManagement | ||
description: GitOps.PullRequestIssueManagement primitive | ||
owner: | ||
resource: repository | ||
disabled: false | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: [] | ||
eventResponderTasks: | ||
- if: | ||
- payloadType: Pull_Request | ||
- hasLabel: | ||
label: auto-merge | ||
then: | ||
- enableAutoMerge: | ||
mergeMethod: Squash | ||
description: Auto-merge PRs | ||
- if: | ||
- payloadType: Pull_Request | ||
- labelRemoved: | ||
label: auto-merge | ||
then: | ||
- disableAutoMerge | ||
description: Auto-merge PRs | ||
- if: | ||
- payloadType: Pull_Request | ||
- isAction: | ||
action: Opened | ||
- isActivitySender: | ||
user: dotnet-maestro[bot] | ||
issueAuthor: False | ||
- titleContains: | ||
pattern: Update dependencies | ||
isRegex: False | ||
then: | ||
- addLabel: | ||
label: area-infrastructure | ||
- addLabel: | ||
label: 'type-dependency update :arrow_up_small:' | ||
- 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 | ||
- titleContains: | ||
pattern: Merge branch | ||
isRegex: False | ||
then: | ||
- addLabel: | ||
label: area-infrastructure | ||
- addLabel: | ||
label: 'type-merge forward :fast_forward:' | ||
- approvePullRequest: | ||
comment: Auto-approving branch merge. | ||
- addLabel: | ||
label: auto-merge | ||
description: '[Infrastructure PRs] Add area-infrastructure label to auto-merge Pull Requests' | ||
onFailure: | ||
onSuccess: |