-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbors.toml
More file actions
50 lines (48 loc) · 1.81 KB
/
Copy pathbors.toml
File metadata and controls
50 lines (48 loc) · 1.81 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
status = ["ci (staging) / Build", "ci (staging) / Test and lint", "ci (staging) / Lint style", "ci (staging) / Post-Build Step", "ci (staging) / Post-CI job"]
use_squash_merge = true
timeout_sec = 7200
block_labels = ["WIP", "blocked-by-other-PR", "merge-conflict", "awaiting-CI"]
delete_merged_branches = true
update_base_for_deletes = true
cut_body_after = "\n---"
max_batch_size = 16
[labels]
on_queue = "ready-to-merge" # PR is on the merge queue (a batch waiting or running)
building = "bors-staging" # PR is currently building on staging (such PRs will also have the on_queue label)
failed = "awaiting-requeue" # PR's merge build failed terminally and was dropped; needs a re-queue
delegated = "delegated" # PR has at least one active (non-expired) delegation
[delegation]
default_expiry_sec = 1209600 # 2 weeks
# Entries below are Erlang `:glob` patterns (NOT gitignore): `*` matches across `/`,
# `?` is one char, and patterns are anchored -- so a directory and its
# top-level aggregator file are listed separately (e.g. `Mathlib/**` does not
# cover `Mathlib.lean`).
#
# Allow-list: a delegation covers only new author work within these paths.
restrict_to_paths = [
"Archive/**",
"Counterexamples/**",
"docs/**",
"DownstreamTest/**",
"Mathlib/**",
"MathlibTest/**",
"widget/**",
"Archive.lean",
"Counterexamples.lean",
"docs.lean",
"Mathlib.lean",
]
# Deny-list: always revoke delegation when these are touched, even if a path
# also matches the allow-list.
# Redundant with the allow-list today (these are already excluded by omission),
# but kept as a reference so the protection survives any future widening of
# `restrict_to_paths`.
# invalidate_on_paths = [
# ".github/**",
# "scripts/**",
# "Cache/**",
# "lakefile.lean",
# "lake-manifest.json",
# "lean-toolchain",
# "bors.toml",
# ]