Onboarding to GitOps.ResourceManagement (#33)
* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement * 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:
Родитель
933dc839b5
Коммит
383e43c7fa
|
@ -1,44 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"tasks": [
|
||||
{
|
||||
"taskType": "trigger",
|
||||
"capabilityId": "CodeFlowLink",
|
||||
"subCapability": "CodeFlowLink",
|
||||
"version": "1.0",
|
||||
"id": "sau7Bu2WS",
|
||||
"config": {
|
||||
"taskName": "ESE - CodeFlow Link"
|
||||
}
|
||||
},
|
||||
{
|
||||
"taskType": "trigger",
|
||||
"capabilityId": "IssueResponder",
|
||||
"subCapability": "PullRequestResponder",
|
||||
"version": "1.0",
|
||||
"id": "pnLzYErZr",
|
||||
"config": {
|
||||
"conditions": {
|
||||
"operator": "and",
|
||||
"operands": []
|
||||
},
|
||||
"eventType": "pull_request",
|
||||
"eventNames": [
|
||||
"pull_request",
|
||||
"issues",
|
||||
"project_card"
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"name": "assignToUser",
|
||||
"parameters": {
|
||||
"user": "@2BitSalute"
|
||||
}
|
||||
}
|
||||
],
|
||||
"taskName": "PR Event Responder"
|
||||
}
|
||||
}
|
||||
],
|
||||
"userGroups": []
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
id:
|
||||
name: GitOps.PullRequestIssueManagement
|
||||
description: GitOps.PullRequestIssueManagement primitive
|
||||
owner:
|
||||
resource: repository
|
||||
disabled: false
|
||||
where:
|
||||
configuration:
|
||||
resourceManagementConfiguration:
|
||||
scheduledSearches: []
|
||||
eventResponderTasks:
|
||||
- if:
|
||||
- payloadType: Pull_Request
|
||||
- isAction:
|
||||
action: Opened
|
||||
then:
|
||||
- addCodeFlowLink
|
||||
description:
|
||||
- if:
|
||||
- payloadType: Pull_Request
|
||||
then:
|
||||
- assignTo:
|
||||
users:
|
||||
- '@2BitSalute'
|
||||
description:
|
||||
onFailure:
|
||||
onSuccess:
|
Загрузка…
Ссылка в новой задаче