From abd70531d535ba06d52ad8208fc3582e0dd8860c Mon Sep 17 00:00:00 2001 From: atlas Date: Tue, 23 Jun 2026 12:01:05 +0200 Subject: [PATCH] hive-forge: fix stale ci-rerun CLI variant doc The clap subcommand doc in main.rs still described the old web-route implementation (--job, 'POSTs the rerun web action'), which surfaces in hive-forge --help. Update it to match the workflow-dispatch rework. --- hive-forge/src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hive-forge/src/main.rs b/hive-forge/src/main.rs index cd81f066..6735f718 100644 --- a/hive-forge/src/main.rs +++ b/hive-forge/src/main.rs @@ -165,9 +165,10 @@ enum Verb { /// [--step i]`). Uses Forgejo's web run-view streamer (no REST /// endpoint exists); reliable for live + recently-finished runs. CiLog(verbs::ci_log::Args), - /// Re-run a CI Actions run without an empty commit (`--run - /// [--job i]`, or `--pr ` to resolve the head run). POSTs the - /// rerun web action; re-runs all jobs unless `--job` is given. + /// Re-run CI without an empty commit: dispatches a fresh run via the + /// workflow-dispatch API. Pass one of `--pr ` (the PR head branch), + /// `--run ` (branch + workflow resolved from that run), or + /// `--branch `; `--workflow ` defaults to `ci.yml`. CiRerun(verbs::ci_rerun::Args), }