Rerun only failed jobs github-actions
Retry just the failed jobs of a run, reusing prior successful results
gh run rerun <id> --failed
more github-actions
all 7 commands →
List and prune caches
gh cache list --sort size_in_bytes --order desc; gh cache delete <id>
OIDC keyless cloud auth
permissions:
id-token: write
contents: read
Trigger workflow with inputs
gh workflow run deploy.yml -f env=prod -f version=1.4.2 --ref main
Watch latest run live
gh run watch $(gh run list -w deploy.yml -L1 --json databaseId -q '.[0].databaseId')
Show only failed logs
gh run view <id> --log-failed | less -R