Skip to content

Commit

Permalink
{CI} Update fabricbot.json (Azure#6260)
Browse files Browse the repository at this point in the history
* Update fabricbot.json

* Update fabricbot.json
  • Loading branch information
wangzelin007 committed May 4, 2023
1 parent 0712d04 commit d0abacb
Showing 1 changed file with 141 additions and 1 deletion.
142 changes: 141 additions & 1 deletion .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -4200,7 +4200,7 @@
{
"name": "requestReviewer",
"parameters": {
"reviewer": "wangzelin007"
"reviewer": "yanzhudd"
}
}
]
Expand Down Expand Up @@ -12647,6 +12647,146 @@
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"operator": "or",
"operands": [
{
"name": "titleContains",
"parameters": {
"titlePattern": "[Vv]m-repair",
"isRegex": true
}
},
{
"name": "bodyContains",
"parameters": {
"bodyPattern": "[Vv]m-repair",
"isRegex": true
}
}
]
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[vm-repair] Auto assign labels and reviewers based on PR title/description.",
"actions": [
{
"name": "requestReviewer",
"parameters": {
"reviewer": "zhoxing-ms"
}
},
{
"name": "requestReviewer",
"parameters": {
"reviewer": "yanzhudd"
}
},
{
"name": "addLabel",
"parameters": {
"label": "Auto-Assign"
}
},
{
"name": "assignToUser",
"parameters": {
"user": "zhoxing-ms"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"operator": "or",
"operands": [
{
"name": "titleContains",
"parameters": {
"titlePattern": "az azurestackhci",
"isRegex": true
}
},
{
"name": "bodyContains",
"parameters": {
"bodyPattern": "az azurestackhci",
"isRegex": true
}
}
]
},
{
"operator": "or",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
}
]
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "[azurestackhci] auto assign labels and users based on issue description.",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "Auto-Assign"
}
},
{
"name": "addLabel",
"parameters": {
"label": "AzureStackHCI"
}
},
{
"name": "addLabel",
"parameters": {
"label": "CXP Attention"
}
}
]
}
}
],
"userGroups": [
Expand Down

0 comments on commit d0abacb

Please sign in to comment.