You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggest team members to run CI checks for long-standing PRs (#46848)
* Suggest team members to run CI checks for long-standing PRs
* Update .github/fabricbot.json
Co-authored-by: Doug Bunting <[email protected]>
---------
Co-authored-by: Doug Bunting <[email protected]>
Copy file name to clipboardExpand all lines: .github/fabricbot.json
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -3532,7 +3532,7 @@
3532
3532
{
3533
3533
"name": "addReply",
3534
3534
"parameters": {
3535
-
"comment": "Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.\nTo make sure no breaking changes are introduced, please remove the `pending ci rerun` label to kick off a new CI run."
3535
+
"comment": "Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.\nTo make sure no breaking changes are introduced, please leave an `/azp run` comment here to rerun the CI pipeline and confirm success before merging the change."
3536
3536
}
3537
3537
},
3538
3538
{
@@ -3548,14 +3548,27 @@
3548
3548
{
3549
3549
"taskType": "trigger",
3550
3550
"capabilityId": "IssueResponder",
3551
-
"subCapability": "PullRequestResponder",
3551
+
"subCapability": "PullRequestCommentResponder",
3552
3552
"version": "1.0",
3553
3553
"config": {
3554
3554
"conditions": {
3555
3555
"operator": "and",
3556
3556
"operands": [
3557
3557
{
3558
-
"name": "labelRemoved",
3558
+
"name": "activitySenderHasPermissions",
3559
+
"parameters": {
3560
+
"permissions": "write"
3561
+
}
3562
+
},
3563
+
{
3564
+
"name": "commentContains",
3565
+
"parameters": {
3566
+
"isRegex": true,
3567
+
"commentPattern": "^(\\/azp run)$"
3568
+
}
3569
+
},
3570
+
{
3571
+
"name": "hasLabel",
3559
3572
"parameters": {
3560
3573
"label": "pending-ci-rerun"
3561
3574
}
@@ -3564,16 +3577,14 @@
3564
3577
},
3565
3578
"eventType": "pull_request",
3566
3579
"eventNames": [
3567
-
"pull_request",
3568
-
"issues",
3569
-
"project_card"
3580
+
"issue_comment"
3570
3581
],
3571
-
"taskName": "Unblock PRs which are no longer awaiting for a ci run",
3582
+
"taskName": "Remove pending-ci-rerun label when CI rerun requested",
0 commit comments