FabricBot: Onboarding to GitOps.ResourceManagement because of FabricBot decommissioning (#510)
* 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>
This commit is contained in:
Родитель
891d6702da
Коммит
d9fc8c07ee
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"tasks": [
|
||||
{
|
||||
"taskType": "trigger",
|
||||
"capabilityId": "IssueResponder",
|
||||
"subCapability": "IssuesOnlyResponder",
|
||||
"version": "1.0",
|
||||
"id": "P6vsCOatS",
|
||||
"config": {
|
||||
"conditions": {
|
||||
"operator": "and",
|
||||
"operands": []
|
||||
},
|
||||
"eventType": "issue",
|
||||
"eventNames": [
|
||||
"issues",
|
||||
"project_card"
|
||||
],
|
||||
"taskName": "Lock new issues",
|
||||
"actions": [
|
||||
{
|
||||
"name": "lockIssue",
|
||||
"parameters": {
|
||||
"reason": "resolved"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"userGroups": []
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
id:
|
||||
name: GitOps.PullRequestIssueManagement
|
||||
description: GitOps.PullRequestIssueManagement primitive
|
||||
owner:
|
||||
resource: repository
|
||||
disabled: false
|
||||
where:
|
||||
configuration:
|
||||
resourceManagementConfiguration:
|
||||
scheduledSearches: []
|
||||
eventResponderTasks:
|
||||
- if:
|
||||
- payloadType: Issues
|
||||
then:
|
||||
- lockIssue
|
||||
description: Lock new issues
|
||||
onFailure:
|
||||
onSuccess:
|
Загрузка…
Ссылка в новой задаче