hive-forge: make ci-rerun --pr help text match the refusal it prints

The doc comment still described the old (never-shipped) behavior --
exactly the lie this whole PR exists to remove, just in --help instead
of the module doc or forge.md. Say what the flag actually does: refuse,
because a workflow_dispatch run writes no commit status and can't clear
a red (pull_request) check.

Regenerated docs/tools/forge-cli.md (derived from clap help via
'hive-forge markdown-docs').
This commit is contained in:
atlas 2026-09-21 20:47:54 +02:00 committed by mara
commit 8de85729cc
2 changed files with 4 additions and 3 deletions

View file

@ -1370,7 +1370,7 @@ Re-run CI without an empty commit. Pass one of `--pr <n>`, `--run <n>`, or `--br
###### **Options:**
* `--pr <PR>`Re-run CI for this PR (its head branch). Mutually exclusive with `--run` / `--branch`
* `--pr <PR>`Doesn't work: a `workflow_dispatch` run writes no commit status, so it can't clear a red `(pull_request)` check — re-run from the web UI instead. Mutually exclusive with `--run` / `--branch`
* `--run <RUN>` — Re-run the same workflow on the same branch this run used. The run number is the `runs/<n>` in the run-page URL. Mutually exclusive with `--pr` / `--branch`
* `--branch <BRANCH>` — Re-run `--workflow` on this branch. Mutually exclusive with `--pr` / `--run`
* `--workflow <WORKFLOW>` — Workflow file to run (default `ci.yml`). Ignored for `--run`, which uses the run's own workflow