Skip to content

Commit

Permalink
Automate setting milestone for servicing PRs when merged (#45356)
Browse files Browse the repository at this point in the history
* Automate setting milestone for servicing PRs when merged

* Update .github/fabricbot.json

Co-authored-by: Doug Bunting <[email protected]>

Co-authored-by: Doug Bunting <[email protected]>
  • Loading branch information
mkArtakMSFT and dougbu authored Nov 30, 2022
1 parent 522bbee commit 63c4948
Showing 1 changed file with 121 additions and 1 deletion.
122 changes: 121 additions & 1 deletion .github/fabricbot.json
Original file line number Diff line number Diff line change
Expand Up @@ -2566,7 +2566,7 @@
}
}
],
"taskName": "Assign `Current Milestone` to PRs merged to main"
"taskName": "[Milestone Assignments] Assign `Current Milestone` to PRs merged to main"
}
},
{
Expand Down Expand Up @@ -3361,6 +3361,126 @@
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "merged"
}
},
{
"name": "prTargetsBranch",
"parameters": {
"branchName": "release/3.1"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/3.1 branch",
"actions": [
{
"name": "addMilestone",
"parameters": {
"milestoneName": "3.1.33"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "merged"
}
},
{
"name": "prTargetsBranch",
"parameters": {
"branchName": "release/6.0"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/6.0 branch",
"actions": [
{
"name": "addMilestone",
"parameters": {
"milestoneName": "6.0.13"
}
}
]
}
},
{
"taskType": "trigger",
"capabilityId": "IssueResponder",
"subCapability": "PullRequestResponder",
"version": "1.0",
"config": {
"conditions": {
"operator": "and",
"operands": [
{
"name": "isAction",
"parameters": {
"action": "merged"
}
},
{
"name": "prTargetsBranch",
"parameters": {
"branchName": "release/7.0"
}
}
]
},
"eventType": "pull_request",
"eventNames": [
"pull_request",
"issues",
"project_card"
],
"taskName": "[Milestone Assignments] Assign Milestone to PRs merged to release/7.0 branch",
"actions": [
{
"name": "addMilestone",
"parameters": {
"milestoneName": "7.0.2"
}
}
]
}
}
],
"userGroups": []
Expand Down

0 comments on commit 63c4948

Please sign in to comment.