Skip to content

Commit 5334780

Browse files
authored
Rollup merge of rust-lang#144583 - apiraino:enable-t-compiler-backport-nomination, r=jieyouxu,Urgau
Enable T-compiler backport nomination This patches the triagebot.toml so that it will trigger a backport label on pull requests fixing regressions. Applying a backport label will trigger creating a Zulip thread. For now the configuration only for `T-compiler` labeled regressions. Comments in the code explain how it works. Documentation [on the forge](https://forge.rust-lang.org/triagebot/backport.html). ``` [backport.foo] # The pull request MUST have one of these labels required_pr_labels = ["T-compiler"] # The regression MUST have this label required_issue_label = "regression-from-stable-to-beta" # if the above conditions matches, the PR will receive these labels add_labels = ["beta-nominated"] ``` Anything to think about before merging this? thanks for a review
2 parents 48dfddd + c5b4606 commit 5334780

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

triagebot.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,21 @@ remove_labels = ["S-waiting-on-author"]
5050
# Those labels are added when PR author requests a review from an assignee
5151
add_labels = ["S-waiting-on-review"]
5252

53+
# [backport.*] sections autonominate pull requests for a backport
54+
# see: https://forge.rust-lang.org/triagebot/backport.html
55+
56+
[backport.t-compiler-beta-backport]
57+
# The pull request MUST have one of these labels
58+
required-pr-labels = ["T-compiler"]
59+
# The regression MUST have this label
60+
required-issue-label = "regression-from-stable-to-beta"
61+
# if the above conditions matches, the PR will receive these labels
62+
add-labels = ["beta-nominated"]
63+
64+
[backport.t-compiler-stable-backport]
65+
required-pr-labels = ["T-compiler"]
66+
required-issue-label = "regression-from-stable-to-stable"
67+
add-labels = ["stable-nominated"]
5368

5469
# ------------------------------------------------------------------------------
5570
# Ping groups

0 commit comments

Comments
 (0)