about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide/triagebot.toml
blob: 56fab16a085b8a539492d0bf4b1b6b6c7a2104d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This file's format is documented at
# https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration

[assign]

[autolabel."needs-triage"]
new_issue = true
exclude_labels = [
    "A-diagnostics",
    "C-tracking-issue",
]

[review-submitted]
# This label is added when a "request changes" review is submitted.
reviewed_label = "S-waiting-on-author"
# These labels are removed when a "request changes" review is submitted.
review_labels = ["S-waiting-on-review"]

[review-requested]
# Those labels are removed when PR author requests a review from an assignee
remove_labels = ["S-waiting-on-author"]
# Those labels are added when PR author requests a review from an assignee
add_labels = ["S-waiting-on-review"]

# Enable tracking of PR review assignment
# Documentation at: https://forge.rust-lang.org/triagebot/pr-assignment-tracking.html
[shortcut]

[autolabel."S-waiting-on-review"]
new_pr = true

# Enable issue transfers within the org
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
[transfer]

[relabel]
allow-unauthenticated = [
    "-Z*",
    "A-*",
    "C-*",
    "D-*",
    "E-*",
    "F-*",
    "I-*",
    "L-*",
    "O-*",
    "PG-*",
    "S-*",
    "T-*",
    "WG-*",
    "needs-triage",
]

# Enable `@rustbot note` functionality
# Documentation at: https://forge.rust-lang.org/triagebot/note.html
[note]

# Prevents mentions in commits to avoid users being spammed
# Documentation at: https://forge.rust-lang.org/triagebot/no-mentions.html
[no-mentions]

[canonicalize-issue-links]

# Automatically close and reopen PRs made by bots to run CI on them
[bot-pull-requests]

[behind-upstream]
days-threshold = 7