Browse Source

Add `.github/fabricbot.json` (#1427)

Co-authored-by: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
pull/1439/head
msftbot[bot] 4 years ago
committed by GitHub
parent
commit
509604df22
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 66
      .github/fabricbot.json

66
.github/fabricbot.json

@ -0,0 +1,66 @@
{
"version": "1.0",
"tasks": [
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "opened"
}
},
{
"name": "isActivitySender",
"parameters": {
"user": "dotnet-maestro[bot]",
"association": "CONTRIBUTOR"
}
},
{
"name": "titleContains",
"parameters": {
"titlePattern": "Update dependencies"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Infrastructure PRs] Add area-infrastructure label to dependency update Pull Requests",
"actions": [
{
"name": "addLabel",
"parameters": {
"label": "area infrastructure"
}
},
{
"name": "addLabel",
"parameters": {
"label": "type dependency update :arrow_up_small:"
}
},
{
"name": "approvePullRequest",
"parameters": {
"comment": "Auto-approving dependency update."
}
}
]
},
"id": "1nLbqIfVUhMWfhzLxKgeT"
}
],
"userGroups": []
}
Loading…
Cancel
Save