Skip to content

Commit 97c186b

Browse files
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>
1 parent bb46bbd commit 97c186b

File tree

1 file changed

+39
-44
lines changed

1 file changed

+39
-44
lines changed

.github/fabricbot.json

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -3345,50 +3345,6 @@
33453345
]
33463346
}
33473347
},
3348-
{
3349-
"taskType": "trigger",
3350-
"capabilityId": "IssueResponder",
3351-
"subCapability": "PullRequestResponder",
3352-
"version": "1.0",
3353-
"config": {
3354-
"conditions": {
3355-
"operator": "and",
3356-
"operands": [
3357-
{
3358-
"name": "isAction",
3359-
"parameters": {
3360-
"action": "merged"
3361-
}
3362-
},
3363-
{
3364-
"name": "prTargetsBranch",
3365-
"parameters": {
3366-
"branchName": "release/8.0-rc2"
3367-
}
3368-
}
3369-
]
3370-
},
3371-
"eventType": "pull_request",
3372-
"eventNames": [
3373-
"pull_request",
3374-
"issues",
3375-
"project_card"
3376-
],
3377-
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/8.0-rc2 branch",
3378-
"actions": [
3379-
{
3380-
"name": "removeMilestone",
3381-
"parameters": {}
3382-
},
3383-
{
3384-
"name": "addMilestone",
3385-
"parameters": {
3386-
"milestoneName": "8.0-rc2"
3387-
}
3388-
}
3389-
]
3390-
}
3391-
},
33923348
{
33933349
"taskType": "trigger",
33943350
"capabilityId": "IssueResponder",
@@ -3747,6 +3703,45 @@
37473703
}
37483704
]
37493705
}
3706+
},
3707+
{
3708+
"taskType": "trigger",
3709+
"capabilityId": "IssueResponder",
3710+
"subCapability": "IssuesOnlyResponder",
3711+
"version": "1.0",
3712+
"config": {
3713+
"conditions": {
3714+
"operator": "and",
3715+
"operands": [
3716+
{
3717+
"name": "labelAdded",
3718+
"parameters": {
3719+
"label": "help wanted"
3720+
}
3721+
},
3722+
{
3723+
"name": "isAction",
3724+
"parameters": {
3725+
"action": "labeled"
3726+
}
3727+
}
3728+
]
3729+
},
3730+
"eventType": "issue",
3731+
"eventNames": [
3732+
"issues",
3733+
"project_card"
3734+
],
3735+
"taskName": "Drop a comment when a help candidate issue is identified",
3736+
"actions": [
3737+
{
3738+
"name": "addReply",
3739+
"parameters": {
3740+
"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)"
3741+
}
3742+
}
3743+
]
3744+
}
37503745
}
37513746
],
37523747
"userGroups": []

0 commit comments

Comments
 (0)