Skip to content

Commit f533c51

Browse files
authored
Auto-approve SDK updates (#53451)
1 parent bccdb5b commit f533c51

File tree

1 file changed

+60
-1
lines changed

1 file changed

+60
-1
lines changed

.github/fabricbot.json

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3537,7 +3537,66 @@
35373537
}
35383538
]
35393539
}
3540-
}
3540+
},
3541+
{
3542+
"taskType": "trigger",
3543+
"capabilityId": "IssueResponder",
3544+
"subCapability": "PullRequestResponder",
3545+
"version": "1.0",
3546+
"config": {
3547+
"conditions": {
3548+
"operator": "and",
3549+
"operands": [
3550+
{
3551+
"name": "isAction",
3552+
"parameters": {
3553+
"action": "opened"
3554+
}
3555+
},
3556+
{
3557+
"name": "isActivitySender",
3558+
"parameters": {
3559+
"user": "github-actions[bot]",
3560+
"association": "CONTRIBUTOR"
3561+
}
3562+
},
3563+
{
3564+
"name": "titleContains",
3565+
"parameters": {
3566+
"titlePattern": "Update .NET SDK"
3567+
}
3568+
}
3569+
]
3570+
},
3571+
"eventType": "pull_request",
3572+
"eventNames": [
3573+
"pull_request",
3574+
"issues",
3575+
"project_card"
3576+
],
3577+
"taskName": "[Infrastructure PRs] Add area-infrastructure label to SDK update Pull Requests",
3578+
"actions": [
3579+
{
3580+
"name": "addLabel",
3581+
"parameters": {
3582+
"label": "area-infrastructure"
3583+
}
3584+
},
3585+
{
3586+
"name": "addLabel",
3587+
"parameters": {
3588+
"label": "Type: Dependency Update :arrow_up_small:"
3589+
}
3590+
},
3591+
{
3592+
"name": "approvePullRequest",
3593+
"parameters": {
3594+
"comment": "Auto-approving SDK update."
3595+
}
3596+
}
3597+
]
3598+
}
3599+
},
35413600
],
35423601
"userGroups": []
35433602
}

0 commit comments

Comments
 (0)