-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glacier: Append random sequence to branch name to make it unique
Sometimes the user (me) will make a mistake (e.g. leave out `/rust-play/` from the URL) when invoking `@rustbot glacier` that means the automatically-created PR has to be closed. However, there was no way to try again, because the branch name would conflict and triagebot would crash. Now, we append an 8-character random alphanumeric string to the branch name so that the branch names are unique and you can try again. This adds a dependency on `rand`, which is probably the most downloaded crate all-time, but we already depended on it through other crates.
- Loading branch information
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters