Skip to content

Commit

Permalink
Onboarding to GitOps.ResourceManagement (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent ca4ccab commit 83fda84
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 69 deletions.
69 changes: 0 additions & 69 deletions .github/fabricbot.json

This file was deleted.

42 changes: 42 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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:
- if:
- payloadType: Pull_Request
- labelRemoved:
label: Auto-Merge
then:
- disableAutoMerge
description:
- if:
- payloadType: Pull_Request
- isAction:
action: Opened
- isActivitySender:
user: dotnet-maestro[bot]
issueAuthor: False
- titleContains:
pattern: Update dependencies
isRegex: False
then:
- approvePullRequest:
comment: Auto-approving dependency update.
description:
onFailure:
onSuccess:

0 comments on commit 83fda84

Please sign in to comment.