Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bors/command/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ fn parser_try(command: &CommandPart<'_>, parts: &[CommandPart<'_>]) -> ParseResu
))));
}
},
("jobs", value) => {
("job" | "jobs", value) => {
let raw_jobs: Vec<_> = value.split(',').map(|s| s.to_string()).collect();
if raw_jobs.is_empty() {
return Some(Err(CommandParseError::ValidationError(
Expand Down
2 changes: 1 addition & 1 deletion src/bors/handlers/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ mod tests {
- `delegate+`: Delegate approval permissions to the PR author
- Shortcut for `delegate=review`
- `delegate-`: Remove any previously granted permission delegation
- `try [parent=<parent>] [jobs=<jobs>]`: Start a try build.
- `try [parent=<parent>] [job|jobs=<jobs>]`: Start a try build.
- Optionally, you can specify a `<parent>` SHA with which will the PR be merged. You can specify `parent=last` to use the same parent SHA as the previous try build.
- Optionally, you can select a comma-separated list of CI `<jobs>` to run in the try build.
- `try cancel`: Cancel a running try build
Expand Down
2 changes: 1 addition & 1 deletion src/bors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ You can use the following commands:
- `delegate+`: Delegate approval permissions to the PR author
- Shortcut for `delegate=review`
- `delegate-`: Remove any previously granted permission delegation
- `try [parent=<parent>] [jobs=<jobs>]`: Start a try build.
- `try [parent=<parent>] [job|jobs=<jobs>]`: Start a try build.
- Optionally, you can specify a `<parent>` SHA with which will the PR be merged. You can specify `parent=last` to use the same parent SHA as the previous try build.
- Optionally, you can select a comma-separated list of CI `<jobs>` to run in the try build.
- `try cancel`: Cancel a running try build
Expand Down