From 90828a31ae2cf3e5e4933cc87d2f90602c0af9f7 Mon Sep 17 00:00:00 2001 From: Jeff Handley Date: Tue, 2 Aug 2022 09:19:06 -0700 Subject: [PATCH] Update fabricbot config per dotnet/fabricbot-config#59 (#73207) --- .github/fabricbot.json | 580 +++++------------------------------------ 1 file changed, 66 insertions(+), 514 deletions(-) diff --git a/.github/fabricbot.json b/.github/fabricbot.json index 4beb253473e495..449cf4d51bc7b2 100644 --- a/.github/fabricbot.json +++ b/.github/fabricbot.json @@ -1429,10 +1429,10 @@ } }, { - "name": "addLabel", - "parameters": { - "label": "backlog-cleanup-candidate" - } + "name": "addLabel", + "parameters": { + "label": "backlog-cleanup-candidate" + } }, { "name": "addLabel", @@ -2931,10 +2931,10 @@ } }, { - "name": "removeLabel", - "parameters": { - "label": "backlog-cleanup-candidate" - } + "name": "removeLabel", + "parameters": { + "label": "backlog-cleanup-candidate" + } } ], "eventType": "issue", @@ -2992,10 +2992,10 @@ } }, { - "name": "removeLabel", - "parameters": { - "label": "backlog-cleanup-candidate" - } + "name": "removeLabel", + "parameters": { + "label": "backlog-cleanup-candidate" + } } ], "eventType": "issue", @@ -3029,6 +3029,12 @@ "parameters": { "label": "no-recent-activity" } + }, + { + "name": "removeLabel", + "parameters": { + "label": "backlog-cleanup-candidate" + } } ], "eventType": "pull_request", @@ -3077,6 +3083,12 @@ "parameters": { "label": "no-recent-activity" } + }, + { + "name": "removeLabel", + "parameters": { + "label": "backlog-cleanup-candidate" + } } ], "eventType": "pull_request", @@ -3114,6 +3126,12 @@ "parameters": { "label": "no-recent-activity" } + }, + { + "name": "removeLabel", + "parameters": { + "label": "backlog-cleanup-candidate" + } } ], "eventType": "pull_request", @@ -3598,10 +3616,9 @@ "taskName": "[Area Pod: Adam / David - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Adam / David - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -3613,19 +3630,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Adam / David - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -5171,10 +5175,9 @@ "taskName": "[Area Pod: Buyaa / Jose / Steve - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Buyaa / Jose / Steve - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -5186,19 +5189,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Buyaa / Jose / Steve - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -7363,10 +7353,9 @@ "taskName": "[Area Pod: Akhil / Carlos / Viktor - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Akhil / Carlos / Viktor - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -7378,19 +7367,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Akhil / Carlos / Viktor - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -9345,10 +9321,9 @@ "taskName": "[Area Pod: Drew / Michael / Tanner - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Drew / Michael / Tanner - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -9360,19 +9335,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Drew / Michael / Tanner - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -11117,10 +11079,9 @@ "taskName": "[Area Pod: Eirik / Krzysztof / Layomi - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Eirik / Krzysztof / Layomi - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -11132,19 +11093,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eirik / Krzysztof / Layomi - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -12819,10 +12767,9 @@ "taskName": "[Area Pod: Eric / Jeff - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Eric / Jeff - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -12834,19 +12781,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Jeff - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -14008,10 +13942,9 @@ "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -14023,19 +13956,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -14697,13 +14617,13 @@ "subCapability": "IssuesOnlyResponder", "version": "1.0", "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Eric Updated Issue", + "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Maryam Updated Issue", "actions": [ { "name": "moveToProjectColumn", "parameters": { "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triage: Eric", + "columnName": "Triage: Maryam", "isOrgProject": true } } @@ -14726,7 +14646,7 @@ { "name": "isActivitySender", "parameters": { - "user": "eerhardt" + "user": "maryamariyan" } }, { @@ -14775,13 +14695,13 @@ "subCapability": "IssueCommentResponder", "version": "1.0", "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Eric Commented", + "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Maryam Commented", "actions": [ { "name": "moveToProjectColumn", "parameters": { "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triage: Eric", + "columnName": "Triage: Maryam", "isOrgProject": true } } @@ -14804,7 +14724,7 @@ { "name": "isActivitySender", "parameters": { - "user": "eerhardt" + "user": "maryamariyan" } }, { @@ -14853,13 +14773,13 @@ "subCapability": "IssuesOnlyResponder", "version": "1.0", "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Maryam Updated Issue", + "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Tarek Updated Issue", "actions": [ { "name": "moveToProjectColumn", "parameters": { "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triage: Maryam", + "columnName": "Triage: Tarek", "isOrgProject": true } } @@ -14882,7 +14802,7 @@ { "name": "isActivitySender", "parameters": { - "user": "maryamariyan" + "user": "tarekgh" } }, { @@ -14931,13 +14851,13 @@ "subCapability": "IssueCommentResponder", "version": "1.0", "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Maryam Commented", + "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Tarek Commented", "actions": [ { "name": "moveToProjectColumn", "parameters": { "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triage: Maryam", + "columnName": "Triage: Tarek", "isOrgProject": true } } @@ -14960,7 +14880,7 @@ { "name": "isActivitySender", "parameters": { - "user": "maryamariyan" + "user": "tarekgh" } }, { @@ -15006,205 +14926,49 @@ "taskSource": "fabricbot-config", "taskType": "trigger", "capabilityId": "IssueResponder", - "subCapability": "IssuesOnlyResponder", + "subCapability": "PullRequestResponder", "version": "1.0", "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Tarek Updated Issue", + "taskName": "[Area Pod: Eric / Maryam / Tarek - PRs] Closed, Merged, or Moved", "actions": [ { "name": "moveToProjectColumn", "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triage: Tarek", + "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", + "columnName": "Done", "isOrgProject": true } } ], - "eventType": "issue", + "eventType": "pull_request", "eventNames": [ - "issues" + "pull_request" ], "conditions": { "operator": "and", "operands": [ { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "isOrgProject": true, - "columnName": "Needs Triage" - } - }, - { - "name": "isActivitySender", + "name": "isInProject", "parameters": { - "user": "tarekgh" + "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", + "isOrgProject": true } }, - { - "name": "isOpen", - "parameters": {} - }, - { - "operator": "not", - "operands": [ - { - "name": "isInMilestone", - "parameters": {} - } - ] - }, { "operator": "not", "operands": [ { - "name": "hasLabel", + "name": "isInProjectColumn", "parameters": { - "label": "needs-author-action" + "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", + "columnName": "Done", + "isOrgProject": true } } ] }, { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "api-ready-for-review" - } - } - ] - } - ] - } - } - }, - { - "taskSource": "fabricbot-config", - "taskType": "trigger", - "capabilityId": "IssueResponder", - "subCapability": "IssueCommentResponder", - "version": "1.0", - "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - Issue Triage] Tarek Commented", - "actions": [ - { - "name": "moveToProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "columnName": "Triage: Tarek", - "isOrgProject": true - } - } - ], - "eventType": "issue", - "eventNames": [ - "issue_comment" - ], - "conditions": { - "operator": "and", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - Issue Triage", - "isOrgProject": true, - "columnName": "Needs Triage" - } - }, - { - "name": "isActivitySender", - "parameters": { - "user": "tarekgh" - } - }, - { - "name": "isOpen", - "parameters": {} - }, - { - "operator": "not", - "operands": [ - { - "name": "isInMilestone", - "parameters": {} - } - ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "needs-author-action" - } - } - ] - }, - { - "operator": "not", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "api-ready-for-review" - } - } - ] - } - ] - } - } - }, - { - "taskSource": "fabricbot-config", - "taskType": "trigger", - "capabilityId": "IssueResponder", - "subCapability": "PullRequestResponder", - "version": "1.0", - "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - PRs] Closed, Merged, or Moved", - "actions": [ - { - "name": "moveToProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "columnName": "Done", - "isOrgProject": true - } - } - ], - "eventType": "pull_request", - "eventNames": [ - "pull_request" - ], - "conditions": { - "operator": "and", - "operands": [ - { - "name": "isInProject", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "isOrgProject": true - } - }, - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "columnName": "Done", - "isOrgProject": true - } - } - ] - }, - { - "operator": "or", + "operator": "or", "operands": [ { "operator": "not", @@ -15778,190 +15542,6 @@ } } }, - { - "taskSource": "fabricbot-config", - "taskType": "trigger", - "capabilityId": "IssueResponder", - "subCapability": "PullRequestResponder", - "version": "1.0", - "config": { - "taskName": "[Area Pod: Eric / Maryam / Tarek - PRs] Eric Assigned as Champion", - "actions": [ - { - "name": "removeFromProject", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "isOrgProject": true - } - }, - { - "name": "addToProject", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "columnName": "Champion: Eric", - "isOrgProject": true - } - } - ], - "eventType": "pull_request", - "eventNames": [ - "pull_request" - ], - "conditions": { - "operator": "and", - "operands": [ - { - "name": "isOpen", - "parameters": {} - }, - { - "operator": "or", - "operands": [ - { - "name": "hasLabel", - "parameters": { - "label": "area-DependencyModel" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-Caching" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-Configuration" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-DependencyInjection" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-Hosting" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-Logging" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-Options" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-Extensions-Primitives" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-System.ComponentModel" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-System.ComponentModel.Composition" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-System.Composition" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-System.Diagnostics.Activity" - } - }, - { - "name": "hasLabel", - "parameters": { - "label": "area-System.Globalization" - } - } - ] - }, - { - "operator": "or", - "operands": [ - { - "name": "isAssignedToUser", - "parameters": { - "user": "eerhardt" - } - }, - { - "operator": "and", - "operands": [ - { - "name": "isAction", - "parameters": { - "action": "opened" - } - }, - { - "name": "isActivitySender", - "parameters": { - "user": "eerhardt" - } - } - ] - } - ] - }, - { - "operator": "or", - "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProject", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "isOrgProject": true - } - } - ] - }, - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "columnName": "Needs Champion", - "isOrgProject": true - } - }, - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Eric / Maryam / Tarek - PRs", - "columnName": "Done", - "isOrgProject": true - } - } - ] - } - ] - } - } - }, { "taskSource": "fabricbot-config", "taskType": "trigger", @@ -16340,10 +15920,9 @@ "taskName": "[Area Pod: Jeremy / Levi - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Jeremy / Levi - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -16355,19 +15934,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Jeremy / Levi - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -17785,10 +17351,9 @@ "taskName": "[Area Pod: Libraries Analyzers - Issue Triage] Moved to Another Area", "actions": [ { - "name": "addToProject", + "name": "removeFromProject", "parameters": { "projectName": "Area Pod: Libraries Analyzers - Issue Triage", - "columnName": "Triaged", "isOrgProject": true } } @@ -17800,19 +17365,6 @@ "conditions": { "operator": "and", "operands": [ - { - "operator": "not", - "operands": [ - { - "name": "isInProjectColumn", - "parameters": { - "projectName": "Area Pod: Libraries Analyzers - Issue Triage", - "columnName": "Triaged", - "isOrgProject": true - } - } - ] - }, { "operator": "and", "operands": [ @@ -19028,4 +18580,4 @@ } } } -] +] \ No newline at end of file