Skip to content

Commit 53855d2

Browse files
mkArtakMSFTdougbu
andauthored
Add a rule to mention the aspnet-build team on infrastructure issues (#41940)
* Add a rule to mention the `aspnet-build` team on infrastructure issues Also drop a comment on community contributions suggesting that someone will get assigned to the PR soon and get it reviewed. **Note**: Because we don't rely on FabricBot UI any more, I am using the `Internal: Debug` label to validate my new rule. After validation, I'll update this file one more time to remove the condition. * Update .github/fabricbot.json Co-authored-by: Doug Bunting <[email protected]> Co-authored-by: Doug Bunting <[email protected]>
1 parent 0d1a2a8 commit 53855d2

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

.github/fabricbot.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2516,6 +2516,12 @@
25162516
"parameters": {
25172517
"label": "community-contribution"
25182518
}
2519+
},
2520+
{
2521+
"name": "addReply",
2522+
"parameters": {
2523+
"comment": "Thanks for your PR, @${issueAuthor}. Someone from the team will get assigned to your PR shortly and we'll get it reviewed."
2524+
}
25192525
}
25202526
]
25212527
}
@@ -3283,5 +3289,57 @@
32833289
}
32843290
]
32853291
}
3292+
},
3293+
{
3294+
"taskType": "trigger",
3295+
"capabilityId": "IssueResponder",
3296+
"subCapability": "PullRequestResponder",
3297+
"version": "1.0",
3298+
"config": {
3299+
"conditions": {
3300+
"operator": "and",
3301+
"operands": [
3302+
{
3303+
"name": "labelAdded",
3304+
"parameters": {
3305+
"label": "area-infrastructure"
3306+
}
3307+
},
3308+
{
3309+
"name": "isAction",
3310+
"parameters": {
3311+
"action": "labeled"
3312+
}
3313+
},
3314+
{
3315+
"name": "hasLabel",
3316+
"parameters": {
3317+
"label": "Internal: Debug"
3318+
}
3319+
}
3320+
]
3321+
},
3322+
"eventType": "pull_request",
3323+
"eventNames": [
3324+
"pull_request",
3325+
"issues",
3326+
"project_card"
3327+
],
3328+
"taskName": "Ping the build team on infrastructure issues",
3329+
"actions": [
3330+
{
3331+
"name": "addReply",
3332+
"parameters": {
3333+
"comment": "Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at."
3334+
}
3335+
},
3336+
{
3337+
"name": "assignToUser",
3338+
"parameters": {
3339+
"user": "aspnet-build"
3340+
}
3341+
}
3342+
]
3343+
}
32863344
}
32873345
]

0 commit comments

Comments
 (0)