From: Jose Perez Rodriguez Date: Wed, 16 Mar 2022 21:40:55 +0000 (-0700) Subject: Only move PRs to Done column on projects that already contain the PR when they are... X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~10289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d46618cb73054fb64597011967dfa97d878e89c3;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Only move PRs to Done column on projects that already contain the PR when they are moved to a different area. (#66737) --- diff --git a/.github/fabricbot.json b/.github/fabricbot.json index 4ab05bf..c31a565 100644 --- a/.github/fabricbot.json +++ b/.github/fabricbot.json @@ -2863,137 +2863,137 @@ ] } }, - { - "taskSource": "fabricbot-config", - "taskType": "trigger", - "capabilityId": "IssueResponder", - "subCapability": "IssuesOnlyResponder", - "version": "1.0", - "config": { - "conditions": { - "operator": "and", - "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Adam / David - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, - { - "operator": "and", - "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-FileSystem" - } - } - ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-System.Console" - } - } - ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-System.Diagnostics.Process" - } - } - ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-System.IO" - } - } - ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-System.IO.Compression" - } - } - ] - }, - { - "operator": "not", + { + "taskSource": "fabricbot-config", + "taskType": "trigger", + "capabilityId": "IssueResponder", + "subCapability": "IssuesOnlyResponder", + "version": "1.0", + "config": { + "conditions": { + "operator": "and", "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-System.Linq.Parallel" + { + "operator": "not", + "operands": [ + { + "name": "isInProjectColumn", + "parameters": { + "projectName": "Area Pod: Adam / David - Issue Triage", + "columnName": "Triaged", + "isOrgProject": true + } + } + ] + }, + { + "operator": "and", + "operands": [ + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-Extensions-FileSystem" + } + } + ] + }, + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-System.Console" + } + } + ] + }, + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-System.Diagnostics.Process" + } + } + ] + }, + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-System.IO" + } + } + ] + }, + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-System.IO.Compression" + } + } + ] + }, + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-System.Linq.Parallel" + } + } + ] + }, + { + "operator": "not", + "operands": [ + { + "name": "hasLabel", + "parameters": { + "label": "area-System.Memory" + } + } + ] + } + ] + }, + { + "name": "isAction", + "parameters": { + "action": "unlabeled" + } } - } ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", + }, + "eventType": "issue", + "eventNames": [ + "issues", + "project_card" + ], + "taskName": "[Area Pod: Adam / David - Issue Triage] Moved to Another Area", + "actions": [ + { + "name": "addToProject", "parameters": { - "label": "area-System.Memory" + "projectName": "Area Pod: Adam / David - Issue Triage", + "columnName": "Triaged", + "isOrgProject": true } - } - ] - } + } ] - }, - { - "name": "isAction", - "parameters": { - "action": "unlabeled" - } - } - ] - }, - "eventType": "issue", - "eventNames": [ - "issues", - "project_card" - ], - "taskName": "[Area Pod: Adam / David - Issue Triage] Moved to Another Area", - "actions": [ - { - "name": "addToProject", - "parameters": { - "projectName": "Area Pod: Adam / David - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } } - ] - } - }, + }, { "taskSource": "fabricbot-config", "taskType": "trigger", @@ -3486,6 +3486,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Adam / David - PRs", + "isOrgProject": true + } } ] }, @@ -4381,6 +4388,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Buyaa / Jose / Steve - PRs", + "isOrgProject": true + } } ] }, @@ -5180,6 +5194,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Carlos / Jeremy - PRs", + "isOrgProject": true + } } ] }, @@ -5841,6 +5862,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Drew / Michael / Tanner - PRs", + "isOrgProject": true + } } ] }, @@ -6444,6 +6472,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Eirik / Krzysztof / Layomi - PRs", + "isOrgProject": true + } } ] }, @@ -6921,6 +6956,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Eric / Jeff - PRs", + "isOrgProject": true + } } ] }, @@ -7860,6 +7902,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", + "isOrgProject": true + } } ] }, @@ -8551,6 +8600,13 @@ ] } ] + }, + { + "name": "isInProject", + "parameters": { + "projectName": "Area Pod: Jeremy / Levi - PRs", + "isOrgProject": true + } } ] }, @@ -8651,4 +8707,4 @@ ] } } -] \ No newline at end of file +]