Skip to content

Commit ad749d8

Browse files
committed
Automatically label PRs, allow manual labelling by anyone
1 parent 01a5540 commit ad749d8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

triagebot.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
# This file's format is documented at
2+
# https://forge.rust-lang.org/triagebot/index.html
3+
14
# Enable issue transfers within the org
25
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
36
[transfer]
7+
8+
# Allow some labels to be applied by anyone
9+
[relabel]
10+
allow-unauthenticated = [
11+
"A-*",
12+
"C-*",
13+
"E-*",
14+
]
15+
16+
# Automatically label pull requests touching defined areas
17+
[autolabel."A-frontend"]
18+
trigger_files = [
19+
"app/",
20+
"e2e/",
21+
"tests/",
22+
"packages/",
23+
"public/",
24+
"package.json",
25+
"pnpm-lock.yaml",
26+
]
27+
28+
[autolabel."A-backend"]
29+
trigger_files = [
30+
"src/",
31+
"crates/",
32+
"migrations/",
33+
"src/tools/jsondocck",
34+
"src/tools/jsondoclint",
35+
"Cargo.toml",
36+
"Cargo.lock",
37+
]

0 commit comments

Comments
 (0)