Skip to content

Commit e852e90

Browse files
authored
Adding a new rule for automating repro request comments (#46094)
The message here is what we use today as a canned response when requesting a repro project. This task will simply / automate this so during triage we simply stick the label when a repro is needed.
1 parent c081374 commit e852e90

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Diff for: .github/fabricbot.json

+39
Original file line numberDiff line numberDiff line change
@@ -3481,6 +3481,45 @@
34813481
}
34823482
]
34833483
}
3484+
},
3485+
{
3486+
"taskType": "trigger",
3487+
"capabilityId": "IssueResponder",
3488+
"subCapability": "IssuesOnlyResponder",
3489+
"version": "1.0",
3490+
"config": {
3491+
"conditions": {
3492+
"operator": "and",
3493+
"operands": [
3494+
{
3495+
"name": "labelAdded",
3496+
"parameters": {
3497+
"label": "Needs: Repro"
3498+
}
3499+
}
3500+
]
3501+
},
3502+
"eventType": "issue",
3503+
"eventNames": [
3504+
"issues",
3505+
"project_card"
3506+
],
3507+
"taskName": "[Needs: Repro] Request a minimal repro project",
3508+
"actions": [
3509+
{
3510+
"name": "addReply",
3511+
"parameters": {
3512+
"comment": "Thank you for filing this issue. In order for us to investigate this issue, please provide [a minimalistic repro project](https://github.com/dotnet/aspnetcore/blob/main/docs/repro.md) that illustrates the problem."
3513+
}
3514+
},
3515+
{
3516+
"name": "addLabel",
3517+
"parameters": {
3518+
"label": "Needs: Author Feedback"
3519+
}
3520+
}
3521+
]
3522+
}
34843523
}
34853524
],
34863525
"userGroups": []

0 commit comments

Comments
 (0)