Skip to content

Commit

Permalink
[Internal] FabricBot: Adds GitOps.ResourceManagement because of Fabri…
Browse files Browse the repository at this point in the history
…cBot decommissioning (#3966)

* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement

Owners of the FabricBot configuration should have received email notification. The same information contained in the email is published internally at: https://aka.ms/gim/fabricbot. 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: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 077acf3 commit 0d4e93f
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 183 deletions.
183 changes: 0 additions & 183 deletions .github/fabricbot.json

This file was deleted.

57 changes: 57 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description:
frequencies:
- weekday:
day: Monday
time: 9:0
filters:
- isOpen
- isIssue
- hasLabel:
label: needs-more-information
- noActivitySince:
days: 14
- isNotAssigned
actions:
- addReply:
reply: '@${issueAuthor} this issue requires more information for the team to be able to help. In case this information is available, please add it and re-open the Issue.'
- closeIssue
eventResponderTasks:
- if:
- payloadType: Issues
- not: isAssignedToSomeone
- isAction:
action: Opened
- not:
hasLabel:
label: needs-investigation
then:
- addLabel:
label: needs-investigation
description:
- if:
- payloadType: Pull_Request
- hasLabel:
label: auto-merge
then:
- enableAutoMerge:
mergeMethod: Squash
description:
- if:
- payloadType: Pull_Request
- labelRemoved:
label: auto-merge
then:
- disableAutoMerge
description:
onFailure:
onSuccess:

0 comments on commit 0d4e93f

Please sign in to comment.