From 3e5742d9d8633dde1e723eb5758b22671f36a243 Mon Sep 17 00:00:00 2001 From: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Date: Wed, 15 Apr 2026 23:27:55 +0200 Subject: [PATCH] show glob usage of bors try jobs --- src/bors/handlers/help.rs | 4 +++- src/bors/mod.rs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bors/handlers/help.rs b/src/bors/handlers/help.rs index 98ac2ff5..221f4c24 100644 --- a/src/bors/handlers/help.rs +++ b/src/bors/handlers/help.rs @@ -49,7 +49,9 @@ mod tests { - `try [parent=] [job|jobs=]`: Start a try build. - Optionally, you can specify a `` 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 `` to run in the try build. - For example, `@bors try jobs=foobar,foobaz`. + Examples: + - `@bors try jobs=x86_64-gnu-nopt` + - `@bors try jobs=x86_64-gnu-nopt,x86_64-mingw-*` (matches `x86_64-gnu-nopt` and jobs starting with `x86_64-mingw-`) - `try cancel`: Cancel a running try build on the current PR. - `retry`: Clear a failed auto build status from an approved PR. This will cause the merge queue to eventually attempt to merge the PR again. - `cancel` | `yield`: Cancel a running auto build on the current PR. diff --git a/src/bors/mod.rs b/src/bors/mod.rs index 11cbc30b..c27a31d0 100644 --- a/src/bors/mod.rs +++ b/src/bors/mod.rs @@ -108,7 +108,9 @@ You can use the following commands: - `try [parent=] [job|jobs=]`: Start a try build. - Optionally, you can specify a `` 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 `` to run in the try build. - For example, `@bors try jobs=foobar,foobaz`. + Examples: + - `@bors try jobs=x86_64-gnu-nopt` + - `@bors try jobs=x86_64-gnu-nopt,x86_64-mingw-*` (matches `x86_64-gnu-nopt` and jobs starting with `x86_64-mingw-`) - `try cancel`: Cancel a running try build on the current PR. - `retry`: Clear a failed auto build status from an approved PR. This will cause the merge queue to eventually attempt to merge the PR again. - `cancel` | `yield`: Cancel a running auto build on the current PR.