Skip to content

Commit 62757cc

Browse files
authored
[Fabric Bot] Remove Test Rules (Azure#27378)
The focus of these changes is to remove the rules related to testing paths for team assignment after ML bot tagging.
1 parent b91d5b3 commit 62757cc

File tree

1 file changed

+0
-231
lines changed

1 file changed

+0
-231
lines changed

.github/fabricbot.json

Lines changed: 0 additions & 231 deletions
Original file line numberDiff line numberDiff line change
@@ -4033,236 +4033,5 @@
40334033
}
40344034
]
40354035
}
4036-
},
4037-
{
4038-
"taskType": "scheduledAndTrigger",
4039-
"capabilityId": "IssueRouting",
4040-
"subCapability": "@Mention",
4041-
"version": "1.0",
4042-
"config": {
4043-
"taskName": "[SQUIRE TEST] Team Assignment",
4044-
"labelsAndMentions": [
4045-
{
4046-
"labels": [
4047-
"Event Hubs",
4048-
"Client",
4049-
"needs-team-triage"
4050-
],
4051-
"mentionees": [
4052-
"jsquire"
4053-
],
4054-
"assignToMentionees": true
4055-
},
4056-
{
4057-
"labels": [
4058-
"Service Bus",
4059-
"Client",
4060-
"needs-team-triage"
4061-
],
4062-
"mentionees": [
4063-
"JoshLove-msft",
4064-
"jsquire"
4065-
],
4066-
"assignToMentionees": true
4067-
}
4068-
],
4069-
"requireBotAssign": false,
4070-
"replyTemplate": "Thank you for your feedback. We are routing this to the appropriate team members for follow-up. "
4071-
}
4072-
},
4073-
{
4074-
"taskType": "trigger",
4075-
"capabilityId": "IssueResponder",
4076-
"subCapability": "IssuesOnlyResponder",
4077-
"version": "1.0",
4078-
"config": {
4079-
"conditions": {
4080-
"operator": "and",
4081-
"operands": [
4082-
{
4083-
"name": "isOpen",
4084-
"parameters": {}
4085-
},
4086-
{
4087-
"name": "hasLabel",
4088-
"parameters": {
4089-
"label": "needs-team-triage"
4090-
}
4091-
},
4092-
{
4093-
"name": "isAssignedToSomeone",
4094-
"parameters": {}
4095-
},
4096-
{
4097-
"operator": "not",
4098-
"operands": [
4099-
{
4100-
"name": "hasLabel",
4101-
"parameters": {
4102-
"label": "needs-triage"
4103-
}
4104-
}
4105-
]
4106-
}
4107-
]
4108-
},
4109-
"eventType": "issue",
4110-
"eventNames": [
4111-
"issues",
4112-
"project_card"
4113-
],
4114-
"taskName": "[SQUIRE TEST] Adjust Labels on Team Assignment",
4115-
"actions": [
4116-
{
4117-
"name": "removeLabel",
4118-
"parameters": {
4119-
"label": "needs-team-triage"
4120-
}
4121-
},
4122-
{
4123-
"name": "addLabel",
4124-
"parameters": {
4125-
"label": "needs-team-attention"
4126-
}
4127-
}
4128-
],
4129-
"dangerZone": {
4130-
"respondToBotActions": true,
4131-
"acceptRespondToBotActions": true
4132-
}
4133-
}
4134-
},
4135-
{
4136-
"taskType": "trigger",
4137-
"capabilityId": "IssueResponder",
4138-
"subCapability": "IssuesOnlyResponder",
4139-
"version": "1.0",
4140-
"config": {
4141-
"conditions": {
4142-
"operator": "and",
4143-
"operands": [
4144-
{
4145-
"name": "isOpen",
4146-
"parameters": {}
4147-
},
4148-
{
4149-
"name": "hasLabel",
4150-
"parameters": {
4151-
"label": "needs-team-triage"
4152-
}
4153-
},
4154-
{
4155-
"operator": "not",
4156-
"operands": [
4157-
{
4158-
"name": "isAssignedToSomeone",
4159-
"parameters": {}
4160-
}
4161-
]
4162-
},
4163-
{
4164-
"operator": "not",
4165-
"operands": [
4166-
{
4167-
"name": "hasLabel",
4168-
"parameters": {
4169-
"label": "needs-triage"
4170-
}
4171-
}
4172-
]
4173-
},
4174-
{
4175-
"name": "titleContains",
4176-
"parameters": {
4177-
"titlePattern": "[SQUIRE TEST]"
4178-
}
4179-
},
4180-
{
4181-
"operator": "not",
4182-
"operands": [
4183-
{
4184-
"name": "hasLabel",
4185-
"parameters": {
4186-
"label": "CXP Attention"
4187-
}
4188-
}
4189-
]
4190-
},
4191-
{
4192-
"operator": "not",
4193-
"operands": [
4194-
{
4195-
"name": "hasLabel",
4196-
"parameters": {
4197-
"label": "needs-team-attention"
4198-
}
4199-
}
4200-
]
4201-
}
4202-
]
4203-
},
4204-
"eventType": "issue",
4205-
"eventNames": [
4206-
"issues",
4207-
"project_card"
4208-
],
4209-
"taskName": "[SQUIRE TEST] Route to CXP if no Team Assignment",
4210-
"actions": [
4211-
{
4212-
"name": "removeLabel",
4213-
"parameters": {
4214-
"label": "needs-team-triage"
4215-
}
4216-
},
4217-
{
4218-
"name": "addLabel",
4219-
"parameters": {
4220-
"label": "CXP Attention"
4221-
}
4222-
},
4223-
{
4224-
"name": "addLabel",
4225-
"parameters": {
4226-
"label": "needs-team-attention"
4227-
}
4228-
}
4229-
],
4230-
"dangerZone": {
4231-
"respondToBotActions": true,
4232-
"acceptRespondToBotActions": true
4233-
}
4234-
}
4235-
},
4236-
{
4237-
"taskType": "trigger",
4238-
"capabilityId": "IssueResponder",
4239-
"subCapability": "IssueCommentResponder",
4240-
"version": "1.0",
4241-
"config": {
4242-
"conditions": {
4243-
"operator": "and",
4244-
"operands": [
4245-
{
4246-
"name": "commentContains",
4247-
"parameters": {
4248-
"commentPattern": "/squire"
4249-
}
4250-
}
4251-
]
4252-
},
4253-
"eventType": "issue",
4254-
"eventNames": [
4255-
"issue_comment"
4256-
],
4257-
"taskName": "[SQUIRE TEST] Validate Rules Updated",
4258-
"actions": [
4259-
{
4260-
"name": "addReply",
4261-
"parameters": {
4262-
"comment": "Test rules iteration: 5"
4263-
}
4264-
}
4265-
]
4266-
}
42674036
}
42684037
]

0 commit comments

Comments
 (0)