FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning (#125)

* 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>
This commit is contained in:
microsoft-github-policy-service[bot] 2023-08-01 11:41:16 -07:00 коммит произвёл GitHub
Родитель 0868ddcc26
Коммит ff6cc423d9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 63 добавлений и 193 удалений

193
.github/fabricbot.json поставляемый
Просмотреть файл

@ -1,193 +0,0 @@
{
"version": "1.0",
"tasks": [
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "prModifiesFiles",
"parameters": {
"pathFilters": [
"deps/"
]
}
},
{
"name": "isOpen",
"parameters": {}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Auto approve dependencies update",
"actions": [
{
"name": "approvePullRequest",
"parameters": {
"comment": "PR contains deps update, engage rubber stamping!"
}
}
]
},
"id": "P77IQUhr8c18L4V4cnFXm"
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isOpen",
"parameters": {}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"actions": [
{
"name": "requestReviewer",
"parameters": {
"reviewer": "anporumb"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "mattdurak"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "dcristoloveanu"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "jebrando"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "darobs"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "ipg2013"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "parth21999"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "cyrus-jackson"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "jasmineymlo"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "RohitG28"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "ACKPaul"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "M-iceberg"
}
}
],
"taskName": "Request review from Messaging Store"
},
"id": "Z3fKT_PY1vzpLN0yPJsTL"
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"operator": "not",
"operands": [
{
"name": "prModifiesFiles",
"parameters": {
"pathFilters": [
"deps/"
]
}
}
]
},
{
"name": "isOpen",
"parameters": {}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Dismiss bot review when not only deps",
"actions": [
{
"name": "dismissApprovalPullRequest",
"parameters": {
"comment": "Files outside deps detected, disengaging auto approval!",
"dismissAction": "dismissBot"
}
}
]
},
"id": "8x887e1QBlsInOfsiKVOA"
}
],
"userGroups": []
}

63
.github/policies/resourceManagement.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,63 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches: []
eventResponderTasks:
- if:
- payloadType: Pull_Request
- includesModifiedFiles:
files:
- deps/
- isOpen
then:
- approvePullRequest:
comment: PR contains deps update, engage rubber stamping!
description:
- if:
- payloadType: Pull_Request
- isOpen
then:
- requestReview:
reviewer: anporumb
- requestReview:
reviewer: mattdurak
- requestReview:
reviewer: dcristoloveanu
- requestReview:
reviewer: jebrando
- requestReview:
reviewer: darobs
- requestReview:
reviewer: ipg2013
- requestReview:
reviewer: parth21999
- requestReview:
reviewer: cyrus-jackson
- requestReview:
reviewer: jasmineymlo
- requestReview:
reviewer: RohitG28
- requestReview:
reviewer: ACKPaul
- requestReview:
reviewer: M-iceberg
description:
- if:
- payloadType: Pull_Request
- not:
includesModifiedFiles:
files:
- deps/
- isOpen
then:
- dismissPullRequestReview:
message: Files outside deps detected, disengaging auto approval!
description:
onFailure:
onSuccess: