From bc0090bf496304523a7463a6f63fdff8467c2093 Mon Sep 17 00:00:00 2001 From: ZelinWang Date: Wed, 12 Apr 2023 08:06:56 +0800 Subject: [PATCH] add artifacts --- .github/fabricbot.json | 69 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/.github/fabricbot.json b/.github/fabricbot.json index ac23272ba7c..92b660c2896 100644 --- a/.github/fabricbot.json +++ b/.github/fabricbot.json @@ -12993,6 +12993,75 @@ } ] } + }, + { + "taskType": "trigger", + "capabilityId": "IssueResponder", + "subCapability": "IssuesOnlyResponder", + "version": "1.0", + "config": { + "conditions": { + "operator": "and", + "operands": [ + { + "operator": "or", + "operands": [ + { + "name": "titleContains", + "parameters": { + "titlePattern": "az artifacts", + "isRegex": true + } + }, + { + "name": "bodyContains", + "parameters": { + "bodyPattern": "az artifacts", + "isRegex": true + } + } + ] + }, + { + "operator": "or", + "operands": [ + { + "name": "isAction", + "parameters": { + "action": "opened" + } + } + ] + } + ] + }, + "eventType": "issue", + "eventNames": [ + "issues", + "project_card" + ], + "taskName": "[Artifacts] auto assign labels and users based on issue description.", + "actions": [ + { + "name": "addLabel", + "parameters": { + "label": "Auto-Assign" + } + }, + { + "name": "addLabel", + "parameters": { + "label": "Artifacts" + } + }, + { + "name": "addLabel", + "parameters": { + "label": "CXP Attention" + } + } + ] + } } ], "userGroups": [