You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh run rerun --job hides repository authorization failure #14941
gh run rerun --job returned only job 127034974817 cannot be rerun, hiding the authorization reason returned by the Actions API.
Environment: Windows PowerShell; gh version 2.100.0 (2026-09-03).
Reproduction against a public repository:
gh run rerun 41963451890 --repo pingdotgg/t3code --job 127034974817 --debug
# job 127034974817 cannot be rerun
gh api --method POST repos/pingdotgg/t3code/actions/jobs/127034974817/rerun -F enable_debug_logging=true
# HTTP 403: Must have admin rights to Repository.
Both the workflow run and job were completed with conclusion failure (attempt 1). The job GET confirmed its run_id was 41963451890. Expected: preserve the API authorization explanation in the CLI error so callers can distinguish permissions from an ineligible job or transient state. No permission bypass is requested.
Using test data, the job rerun endpoint returned HTTP 403 with Must have admin rights to Repository., but the command showed only:
$ gh run rerun 41963451890 --repo example.invalid/t3code --job 127034974817 --debugjob 127034974817 cannot be rerun
Exit status:1.
The same result occurred on 2.103.3 and the selected source build. The current job-rerun path drops the API message, while the run-rerun path preserves it. Including that message would distinguish an authorization failure from other rerun failures.
Activity
cli-triage commentedon Nov 9, 2026
Reproducible on 2.100.0.
Using test data, the job rerun endpoint returned HTTP 403 with
Must have admin rights to Repository., but the command showed only:Exit status:
1.The same result occurred on 2.103.3 and the selected source build. The current job-rerun path drops the API message, while the run-rerun path preserves it. Including that message would distinguish an authorization failure from other rerun failures.
Supporting reports
Duplicate analysis
Label reasoning
Reproduction log
Investigation notes
Generated by issue triage.