Automatically comment when `help wanted` label is added (#52002)

* Automatically comment when `help wanted` label is added

* Update .github/fabricbot.json

Co-authored-by: Martin Costello <martin@martincostello.com>

* Update .github/fabricbot.json

---------

Co-authored-by: Martin Costello <martin@martincostello.com>
This commit is contained in:
Artak 2023-11-13 14:49:47 -08:00 коммит произвёл GitHub
Родитель bb46bbda4e
Коммит 97c186b77c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 39 добавлений и 44 удалений

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

@ -3345,50 +3345,6 @@
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "merged"
}
},
{
"name": "prTargetsBranch",
"parameters": {
"branchName": "release/8.0-rc2"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0-rc2 branch",
"actions": [
{
"name": "removeMilestone",
"parameters": {}
},
{
"name": "addMilestone",
"parameters": {
"milestoneName": "8.0-rc2"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
@ -3747,6 +3703,45 @@
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "IssuesOnlyResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "labelAdded",
"parameters": {
"label": "help wanted"
}
},
{
"name": "isAction",
"parameters": {
"action": "labeled"
}
}
]
},
"eventType": "issue",
"eventNames": [
"issues",
"project_card"
],
"taskName": "Drop a comment when a help candidate issue is identified",
"actions": [
{
"name": "addReply",
"parameters": {
"comment": "Looks like this issue has been identified as a candidate for community contribution. If you're considering sending a PR for this issue, look for the `Summary Comment` link in the issue description. That comment has been left by an engineer on our team to help you get started with handling this issue. You can learn more about our Help Wanted process [here](https://aka.ms/aspnet/processes/help-wanted)"
}
}
]
}
}
],
"userGroups": []