Co-authored-by: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
This commit is contained in:
msftbot[bot] 2022-07-11 15:13:49 -07:00 коммит произвёл GitHub
Родитель 466584ebcb
Коммит 26e9695b67
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 281 добавлений и 0 удалений

281
.github/fabricbot.json поставляемый Normal file
Просмотреть файл

@ -0,0 +1,281 @@
{
"version": "1.0",
"tasks": [
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"id": "PpcBSo76rAnBQG_7WcPCm",
"config": {
"conditions": {
"operator": "or",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"name": "isAction",
"parameters": {
"action": "reopened"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Add Needs-Triage label to new/reopened issue",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "Needs-Triage"
}
}
]
}
},
{
"taskType": "scheduled",
"capabilityId": "ScheduledSearch",
"subCapability": "ScheduledSearch",
"version": "1.1",
"id": "pWnEK0ho0LQ8Iwj9gpMEU",
"config": {
"frequency": [
{
"weekDay": 0,
"hours": [
7,
19
],
"timezoneOffset": -7
},
{
"weekDay": 1,
"hours": [
7,
19
],
"timezoneOffset": -7
},
{
"weekDay": 2,
"hours": [
7,
19
],
"timezoneOffset": -7
},
{
"weekDay": 3,
"hours": [
7,
19
],
"timezoneOffset": -7
},
{
"weekDay": 4,
"hours": [
7,
19
],
"timezoneOffset": -7
},
{
"weekDay": 5,
"hours": [
7,
19
],
"timezoneOffset": -7
},
{
"weekDay": 6,
"hours": [
7,
19
],
"timezoneOffset": -7
}
],
"searchTerms": [
{
"name": "isIssue",
"parameters": {}
},
{
"name": "isOpen",
"parameters": {}
},
{
"name": "hasLabel",
"parameters": {
"label": "Needs-Author Feedback"
}
},
{
"name": "noActivitySince",
"parameters": {
"days": 7
}
},
{
"name": "noLabel",
"parameters": {
"label": "No Recent Activity"
}
}
],
"taskName": "Add No Recent Activity label to issues",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "No Recent Activity"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"id": "j-xYvKjECXObLFPFrsfDR",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "created"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": {
"type": "author"
}
}
},
{
"name": "hasLabel",
"parameters": {
"label": "Needs-Author Feedback"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "Replace Needs-Author Feedback label with Needs-Attention label when the author comments on an issue",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "Needs-Attention"
}
},
{
"name": "removeLabel",
"parameters": {
"label": "Needs-Author Feedback"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssueCommentResponder",
"version": "1.0",
"id": "lFaC4DG8Jb0e0Ya9XoEXz",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "hasLabel",
"parameters": {
"label": "No Recent Activity"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issue_comment"
],
"taskName": "Remove No Recent Activity label when an issue is commented on",
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "No Recent Activity"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"id": "8h_c4oKN945VfKooLA2Gj",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"operator": "not",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "closed"
}
}
]
},
{
"name": "hasLabel",
"parameters": {
"label": "No Recent Activity"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Remove No Recent Activity label from issues",
"actions": [
{
"name": "removeLabel",
"parameters": {
"label": "No Recent Activity"
}
}
]
}
}
],
"userGroups": []
}