about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-07-22 00:54:29 +0800
committerGitHub <noreply@github.com>2025-07-22 00:54:29 +0800
commit0fd009ffe459bd121629c893446525eff6f1c8fe (patch)
tree1dbed3852013f24fbbb20f97182d10bfb0b517f6
parentef4a7fb1b7f398565a038c1eb84da30e53006599 (diff)
parentfc74c2272bc3cf6ee7be23e75808ddf4af0c29ef (diff)
downloadrust-0fd009ffe459bd121629c893446525eff6f1c8fe.tar.gz
rust-0fd009ffe459bd121629c893446525eff6f1c8fe.zip
Rollup merge of #144176 - Kobzol:bors-labels-blocking, r=oli-obk
Add approval blocking labels for new bors

If a PR contains these labels, new bors won't let anyone approve it. We don't merge PRs using new bors yet, ofc, but I wanted to prepare this so that I don't forget about it.

This was proposed here: [#t-lang/meetings > Triage meeting 2025-07-23 @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/410673-t-lang.2Fmeetings/topic/Triage.20meeting.202025-07-23/near/529407150) and implemented [here](https://github.com/rust-lang/bors/pull/367).

CC ````@RalfJung````

r? ````@oli-obk````
-rw-r--r--rust-bors.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/rust-bors.toml b/rust-bors.toml
index fbfaa980f05..56f48512b06 100644
--- a/rust-bors.toml
+++ b/rust-bors.toml
@@ -1,2 +1,19 @@
 # 6 hours timeout for CI builds
 timeout = 21600
+
+# Do not allow approving PRs with certain labels
+labels_blocking_approval = [
+    # Waiting for an FCP to finish
+    "final-comment-period",
+    "proposed-final-comment-period",
+    # PRs that were closed or postponed by an FCP
+    "disposition-close",
+    "disposition-postpone",
+    # Waiting for library ACP
+    "S-waiting-on-ACP",
+    "S-waiting-on-concerns",
+    "S-waiting-on-crater",
+    "S-waiting-on-fcp",
+    "S-waiting-on-MCP",
+    "S-waiting-on-team"
+]