SkiaSharp/.github/fabricbot.json

2834 строки
67 KiB
JSON

{
"version": "1.0",
"tasks": [
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"operator": "not",
"operands": [
{
"name": "isOpen",
"parameters": {}
}
]
},
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/no-recent-activity"
}
},
{
"operator": "or",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-repro"
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "noActivitySince",
"parameters": {
"days": 7
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "isCloseAndComment",
"parameters": {}
}
]
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
},
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "none"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "[Idle Issue Management] For issues closed due to inactivity, re-open an issue if issue author posts a reply within 7 days.",
"actions": [
{
"name": "reopenIssue",
"parameters": {}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/no-recent-activity"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/needs-repro"
}
},
{
"name": "addLabel",
"parameters": {
"label": "status/needs-attention"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"operator": "not",
"operands": [
{
"name": "isOpen",
"parameters": {}
}
]
},
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "read"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 7
}
},
{
"operator": "not",
"operands": [
{
"name": "isCloseAndComment",
"parameters": {}
}
]
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "[Closed Issue Management] For issues closed with no activity over 7 days, ask non-contributor to consider opening a new issue instead.",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you!"
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 1,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 2,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 3,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 4,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 5,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
},
{
"weekDay": 6,
"hours": [
1,
4,
7,
10,
13,
16,
19,
22
],
"timezoneOffset": -8
}
],
"searchTerms": [
{
"name": "isClosed",
"parameters": {}
},
{
"name": "noActivitySince",
"parameters": {
"days": 30
}
},
{
"name": "isUnlocked",
"parameters": {}
},
{
"name": "isIssue",
"parameters": {}
}
],
"taskName": "[Closed Issue Management] Lock issues closed without activity for over 30 days",
"actions": [
{
"name": "lockIssue",
"parameters": {
"reason": "resolved"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"taskName": "[Idle Issue Management] Replace needs author feedback label with needs attention label when the author comments on an issue",
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"operator": "or",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-repro"
}
}
]
},
{
"name": "isOpen",
"parameters": {}
},
{
"operator": "or",
"operands": [
{
"operator": "and",
"operands": [
{
"operator": "not",
"operands": [
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "write"
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "admin"
}
}
]
}
]
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
}
]
}
]
},
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "status/needs-attention"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/needs-repro"
}
}
],
"eventType": "issue",
"eventNames": [
"issue_comment"
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"taskName": "[Closed Issue Management] Remove no recent activity label from issues",
"conditions": {
"operator": "and",
"operands": [
{
"operator": "not",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "closed"
}
}
]
},
{
"name": "hasLabel",
"parameters": {
"label": "status/no-recent-activity"
}
}
]
},
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "status/no-recent-activity"
}
}
],
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"taskName": "[Idle Issue Management] Remove no recent activity label when an issue is commented on",
"conditions": {
"operator": "and",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "status/no-recent-activity"
}
}
]
},
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "status/no-recent-activity"
}
}
],
"eventType": "issue",
"eventNames": [
"issue_comment"
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"taskName": "[Idle Issue Management] Close stale `status/needs-info` issues",
"frequency": [
{
"weekDay": 1,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 2,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 3,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 4,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 5,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
],
"searchTerms": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/no-recent-activity"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 3
}
}
],
"actions": [
{
"name": "closeIssue",
"parameters": {}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"taskName": "[Idle Issue Management] Close stale `status/needs-repro` issues",
"frequency": [
{
"weekDay": 1,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 2,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 3,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 4,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 5,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
],
"searchTerms": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-repro"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/no-recent-activity"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 3
}
}
],
"actions": [
{
"name": "closeIssue",
"parameters": {}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"taskName": "[Idle Issue Management] Add no recent activity label to `status/needs-info` issues",
"frequency": [
{
"weekDay": 1,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 2,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 3,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 4,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 5,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
],
"searchTerms": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 4
}
},
{
"name": "noLabel",
"parameters": {
"label": "status/no-recent-activity"
}
}
],
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "status/no-recent-activity"
}
},
{
"name": "addReply",
"parameters": {
"comment": "This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. If it *is* closed, feel free to comment when you are able to provide the additional information and we will re-investigate."
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"taskName": "[Idle Issue Management] Add no recent activity label to `status/needs-repro` issues",
"frequency": [
{
"weekDay": 1,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 2,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 3,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 4,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
},
{
"weekDay": 5,
"hours": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
]
}
],
"searchTerms": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/needs-repro"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 4
}
},
{
"name": "noLabel",
"parameters": {
"label": "status/no-recent-activity"
}
}
],
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "status/no-recent-activity"
}
},
{
"name": "addReply",
"parameters": {
"comment": "This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. If it *is* closed, feel free to comment when you are able to provide the additional information and we will re-investigate."
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "dotnet-maestro[bot]",
"association": "CONTRIBUTOR"
}
},
{
"name": "titleContains",
"parameters": {
"titlePattern": "Update dependencies"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "area/infrastructure 🏗️"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "addedToMilestone",
"parameters": {
"milestoneName": "Backlog"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Comment: Issue moved to Backlog",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time."
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "status/needs-info"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Replace `status/needs-info` with `status/pr-needs-author-input` for PRs",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hello. I see that you've just added `status/needs-info` label to this PR.\nThat label is for Issues and not for PRs. Don't worry, I'm going to replace it with the correct one."
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/needs-info"
}
},
{
"name": "addLabel",
"parameters": {
"label": "status/pr-needs-author-input"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "status/needs-repro"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Remove `status/needs-repro` from PRs",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hello. I see that you've just added `status/needs-repro` label to this PR.\nThat label is for Issues and not for PRs, so I removed it."
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/needs-repro"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "status/needs-info"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add comment when `status/needs-info` is applied to issue",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hi @${issueAuthor}. We have added the `status/needs-info` label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time."
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "status/needs-repro"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add comment when `status/needs-repro` is applied to issue",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hi @${issueAuthor}. We have added the `status/needs-repro` label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone.\n\nThis issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time."
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "or",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "control-newcontrol"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-general"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-webview"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-datetimepicker"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-picker"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-switch"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-dualscreen"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-checkbox"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-border"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-label"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-button"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-dialogalert"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-entry"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-frame"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-stepper"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-refreshview"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-image"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-activityindicator"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-radiobutton"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-slider"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-progressbar"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-pages"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-map"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add area/controls label when any 'control-X' label is applied to the issue",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "area/controls 🎮"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "or",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "control-newcontrol"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-general"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-webview"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-datetimepicker"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-picker"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-switch"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-dualscreen"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-checkbox"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-border"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-label"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-button"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-dialogalert"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-entry"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-frame"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-stepper"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-refreshview"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-image"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-activityindicator"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-radiobutton"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-slider"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-progressbar"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-pages"
}
},
{
"name": "labelAdded",
"parameters": {
"label": "control-map"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Add area/controls label when any 'control-X' label is applied to the PR",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "area/controls 🎮"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"operator": "or",
"operands": [
{
"name": "isActivitySender",
"parameters": {
"user": "alexeystrakh"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "alexkblount"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "BenBtg"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "DeanFaizal"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "jgold6"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "jmongaras"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "jonlipsky"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "JoonghyunCho"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "juanlao"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "migueBarrera"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "mikeparker104"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "myroot"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "rookiejava"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "shyunMin"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "sung-su"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "Sweekriti91"
}
}
]
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add 'partner' label when issue is opened by a partner",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "partner"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "labelAdded",
"parameters": {
"label": "status/move-to-vs-feedback"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Ask user to use VS Feedback for VS issues",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Thanks for the issue report @${issueAuthor}! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.\n\nIf you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.\n\n1. Go to the [VS feedback tool](https://docs.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2022) to report the issue\n2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.\n\nThis issue will be automatically closed in 3 days if there are no further comments."
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 1,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 2,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 3,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 4,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 5,
"hours": [
0,
6,
12,
18
]
},
{
"weekDay": 6,
"hours": [
0,
6,
12,
18
]
}
],
"searchTerms": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/move-to-vs-feedback"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 3
}
}
],
"taskName": "Close `status/move-to-vs-feedback` after 3 days of no activity",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "This issue is being closed due to inactivity. If this issue is still affecting you, please follow the steps above to use the VS Feedback Tool to report the issue."
}
},
{
"name": "closeIssue",
"parameters": {}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/move-to-vs-feedback"
}
},
{
"operator": "not",
"operands": [
{
"name": "noActivitySince",
"parameters": {
"days": 3
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "isCloseAndComment",
"parameters": {}
}
]
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
},
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "none"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "For issues labeled with `status/move-to-vs-feedback` mark as `status/needs-attention` if there is activity",
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "status/move-to-vs-feedback"
}
},
{
"name": "addLabel",
"parameters": {
"label": "status/needs-attention"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"user": "roubachof",
"action": "opened"
}
},
{
"operator": "or",
"operands": [
{
"name": "isActivitySender",
"parameters": {
"user": "roubachof"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "davidbritch"
}
}
]
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add 'i/great-reporter' when issue is opened by an author we know opens high quality issues",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "i/great-reporter"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "status/try-latest-version"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add comment when `status/try-latest-version` is applied to the issue",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hi @${issueAuthor}. We have added the `status/try-latest-version` label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.\n\nIf the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.\n\nThis issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time."
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
3,
15
],
"timezoneOffset": 2
},
{
"weekDay": 1,
"hours": [
3,
15
],
"timezoneOffset": 2
},
{
"weekDay": 2,
"hours": [
3,
15
],
"timezoneOffset": 2
},
{
"weekDay": 3,
"hours": [
3,
15
],
"timezoneOffset": 2
},
{
"weekDay": 4,
"hours": [
3,
15
],
"timezoneOffset": 2
},
{
"weekDay": 5,
"hours": [
3,
15
],
"timezoneOffset": 2
},
{
"weekDay": 6,
"hours": [
3,
15
],
"timezoneOffset": 2
}
],
"searchTerms": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/try-latest-version"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 7
}
}
],
"taskName": "[Idle Issue Management] Close stale `status/try-latest-version` issues",
"actions": [
{
"name": "closeIssue",
"parameters": {}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "read"
}
},
{
"operator": "not",
"operands": [
{
"name": "isActivitySender",
"parameters": {
"user": "dotnet-maestro"
}
}
]
},
{
"operator": "not",
"operands": [
{
"name": "isActivitySender",
"parameters": {
"user": "dotnet-maestro-bot"
}
}
]
},
{
"name": "isAction",
"parameters": {
"action": "opened"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Add 'community ✨' label to community contributions",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "community ✨"
}
},
{
"name": "addReactionToIssue",
"parameters": {
"reaction": "heart"
}
},
{
"name": "addReply",
"parameters": {
"comment": "Hey there @${issueAuthor}! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed."
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
},
{
"weekDay": 1,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
},
{
"weekDay": 2,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
},
{
"weekDay": 3,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
},
{
"weekDay": 4,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
},
{
"weekDay": 5,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
},
{
"weekDay": 6,
"hours": [
2,
5,
8,
11,
14,
17,
20,
23
],
"timezoneOffset": 2
}
],
"searchTerms": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "isPr",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/pr-needs-author-input"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 10
}
},
{
"name": "noLabel",
"parameters": {
"label": "stale"
}
}
],
"taskName": "Stale PR reminder",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hi @${issueAuthor}.\nIt seems you haven't touched this PR for the last two weeks. To avoid accumulating old PRs, we're marking it as `stale`. As a result, it will be closed if no further activity occurs **within 4 days of this comment**."
}
},
{
"name": "addLabel",
"parameters": {
"label": "stale"
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
},
{
"weekDay": 1,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
},
{
"weekDay": 2,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
},
{
"weekDay": 3,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
},
{
"weekDay": 4,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
},
{
"weekDay": 5,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
},
{
"weekDay": 6,
"hours": [
3,
7,
11,
15,
19,
23
],
"timezoneOffset": 2
}
],
"searchTerms": [
{
"name": "isOpen",
"parameters": {}
},
{
"name": "isPr",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/pr-needs-author-input"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "stale"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 4
}
}
],
"taskName": "Close stale PRs",
"actions": [
{
"name": "closeIssue",
"parameters": {}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "stale"
}
},
{
"name": "hasLabel",
"parameters": {
"label": "status/pr-needs-author-input"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
},
{
"operator": "not",
"operands": [
{
"name": "activitySenderHasPermissions",
"parameters": {
"permissions": "write"
}
}
]
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Revitalize stale PR and reopen",
"actions": [
{
"name": "reopenIssue",
"parameters": {}
},
{
"name": "removeLabel",
"parameters": {
"label": "stale"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "status/pr-needs-author-input"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "status/pr-needs-author-input"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "Add comment when `status/pr-needs-author-input` is applied to PR",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Hi @${issueAuthor}. We have added the `status/pr-needs-author-input` label to this issue, which indicates that we have an open question/action for you before we can take further action. This PRwill be closed automatically in 14 days if we do not hear back from you by then - please feel free to re-open it if you come back to this PR after that time."
}
}
]
}
}
],
"userGroups": []
}