mirror of https://github.com/dotnet/tye.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.6 KiB
66 lines
1.6 KiB
{
|
|
"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": []
|
|
}
|
|
|