-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathrust-bors.example.toml
More file actions
35 lines (31 loc) · 1.28 KB
/
rust-bors.example.toml
File metadata and controls
35 lines (31 loc) · 1.28 KB
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
# Maximum duration of CI workflows before they are considered timed out.
# (Required)
timeout = 3600
# Whether to enable the merge queue or not.
# When enabled, approved PRs will be automatically merged.
# (Optional, defaults to false)
merge_queue_enabled = true
# Whether merge conflicts should be reported on PRs.
# (Optional, defaults to false)
report_merge_conflicts = true
# Labels that will block approval when present on a PR
# (Optional)
labels_blocking_approval = ["final-comment-period", "proposed-final-comment-period"]
# Labels that should be set on a PR after an event happens.
# "+<label>" adds the label, while "-<label>" removes the label after the event.
# Supported events:
# - approved: A PR was approved
# - unapproved: A PR was unapproved
# - try_failed: Try build has failed
# - auto_build_succeeded: Auto build has succeeded, the PR was merged
# - auto_build_failed: Auto build has failed
# (Optional)
[labels]
approved = ["+approved"]
unapproved = ["-approved"]
try_failed = []
# You can also use this form, which allows specifying a set of labels (`unless`). If any of those
# is present on the PR, the modifications will not be applied.
auto_build_succeeded = { modifications = ["+foo", "+bar"], unless = ["baz"] }
auto_build_failed = ["+foo", "+bar"]
conflict = ["+conflict"]