From de045afa1901dd6b6a3d43a01bec1f3d9fb4f4f0 Mon Sep 17 00:00:00 2001 From: Mario Guerra <85648637+mario-guerra@users.noreply.github.com> Date: Thu, 9 Feb 2023 11:41:46 -0600 Subject: [PATCH] assign issue when Test-Proxy label is used (#5382) assign issue when Test-Proxy label is used via Fabric Bot --------- Co-authored-by: Mario Guerra --- .github/fabricbot.json | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/.github/fabricbot.json b/.github/fabricbot.json index 1ca140a9194..a8d1e182875 100644 --- a/.github/fabricbot.json +++ b/.github/fabricbot.json @@ -558,5 +558,42 @@ } ] } + }, + { + "taskType": "trigger", + "capabilityId": "IssueResponder", + "subCapability": "IssuesOnlyResponder", + "version": "1.0", + "config": { + "conditions": { + "operator": "and", + "operands": [ + { + "name": "labelAdded", + "parameters": { + "label": "Test-Proxy" + } + } + ] + }, + "eventType": "issue", + "eventNames": [ + "issues", + "project_card" + ], + "taskName": "Assign issue on use of Test-Proxy label", + "actions": [ + { + "name": "assignToUser", + "parameters": { + "groupId": "", + "user": "mario-guerra" + } + } + ], + "dangerZone": { + "respondToBotActions": false + } + } } -] \ No newline at end of file +]