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 --failed stops on workflow metadata 404 for organization-required runs #15054
On GitHub.com with GitHub CLI 2.104.0 (2026-11-12), gh run rerun RUN_ID --failed -R ORG/CONSUMER fails for a completed run of a workflow required by an organization ruleset. The workflow is defined in another repository.
failed to get run: HTTP 404: Not Found (https://api.github.com/repos/ORG/CONSUMER/actions/workflows/WORKFLOW_ID)
Steps to reproduce
Require a workflow from a shared repository in an organization ruleset that applies to a consumer repository.
Let that workflow run and fail in the consumer repository. Obtain its run ID from the check URL.
With repository Actions write permission, run gh run rerun RUN_ID --failed -R ORG/CONSUMER.
Expected vs. actual behavior
Expected: GitHub receives the failed-jobs rerun request for that run. Actual: the CLI stops at the consumer repository's workflow metadata lookup. The direct REST call with the same authenticated CLI succeeded and created a new attempt on the same run:
gh api -X POST repos/ORG/CONSUMER/actions/runs/RUN_ID/rerun-failed-jobs
Related to #9228 and #14822. Filing separately as requested in the rerun follow-up on #9228. This occurrence returned 404 from /actions/workflows/WORKFLOW_ID. Repository, workflow, and run IDs are redacted.
$ gh run rerun 123 --failed -R example.invalid/consumerfailed to get run: HTTP 404: Not Found (https://api.github.com/repos/example.invalid/consumer/actions/workflows/159038)
Exit status:1.
The same result occurs on the latest release and current source. The run request succeeds, but the CLI then requires workflow metadata and never sends the failed-jobs rerun request. The direct gh api -X POST repos/ORG/CONSUMER/actions/runs/RUN_ID/rerun-failed-jobs call is the available workaround.
Activity
cli-triage commentedon Nov 13, 2026
Reproducible on 2.104.0.
Using test data for a completed workflow run:
Exit status:
1.The same result occurs on the latest release and current source. The run request succeeds, but the CLI then requires workflow metadata and never sends the failed-jobs rerun request. The direct
gh api -X POST repos/ORG/CONSUMER/actions/runs/RUN_ID/rerun-failed-jobscall is the available workaround.Supporting reports
Duplicate analysis
Label reasoning
Reproduction log
Investigation notes
Generated by issue triage.