You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -23,14 +23,23 @@ required.
23
23
|`--cmd-prefix`|`CMD_PREFIX`|@bors| Prefix used to invoke bors commands in PR comments. |
24
24
25
25
### Special branches
26
-
The bot uses the following two branch names for its operations.
26
+
The bot uses the following branch names for its operations.
27
+
28
+
#### Try builds
27
29
-`automation/bors/try-merge`
28
30
- Used to perform merges of a pull request commit with a parent commit.
29
31
- Should not be configured for any CI workflows!
30
32
-`automation/bors/try`
31
33
- This branch should be configured for CI workflows corresponding to try runs.
32
34
33
-
The two branches are currently needed because we cannot set `try-merge` to parent and merge it with a PR commit
35
+
#### Auto builds
36
+
-`automation/bors/auto-merge`
37
+
- Used to merge PR with the latest base branch commit.
38
+
- Should not be configured for any CI workflows!
39
+
-`automation/bors/auto`
40
+
- This branch should be configured for CI workflows that need to run before merging to the base branch.
41
+
42
+
The merge and non-merge branches are needed because we cannot set branches to parent and merge them with a PR commit
34
43
atomically using the GitHub API.
35
44
36
45
### GitHub app
@@ -42,5 +51,7 @@ Here is a guide on how to add a repository so that this bot can be used on it:
42
51
describes the file can be found in `src/config.rs`. [Here](rust-bors.example.toml) is an example configuration file.
43
52
2) Install the GitHub app corresponding to this bot to the corresponding repository. You can use the
44
53
`https://github.com/settings/apps/<app-name>/installations` link (to be automated via `team` repo).
45
-
3) Configure a CI workflow on push to the `automation/bors/try` branch.
46
-
4) Give the bot permissions to push to `automation/bors/try` and `automation/bors/try-merge` (to be automated via `team` repo).
54
+
3) Configure CI workflows on push to:
55
+
-`automation/bors/try` branch (for try builds)
56
+
-`automation/bors/auto` branch (for auto builds)
57
+
4) Give the bot permissions to push to `automation/bors/try`, `automation/bors/try-merge`, `automation/bors/auto`, and `automation/bors/auto-merge` (to be automated via `team` repo).
Copy file name to clipboardExpand all lines: docs/design.md
+84Lines changed: 84 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,90 @@ the branch to parent, and then again after merging the PR commit).
113
113
114
114
Note that `automation/bors/try-merge` should not have any CI workflows configured! These should be configured for the `automation/bors/try` branch instead.
115
115
116
+
## Auto builds
117
+
The merge queue is an automated system that processes approved pull requests and merges them into the base branch after
118
+
ensuring they pass all CI checks. PRs are approved using the `@bors r+` command and then "queued" automatically.
119
+
120
+
Here is a sequence diagram that describes what happens when a PR is approved and enters the merge queue:
0 commit comments