gh run list
Jump to navigation
Jump to search
gh run list --help gh run list --workflow=your_file_workflow.yml gh run list --workflow=your_file_workflow.yml --user YOURUSER gh run list --user gh run list -L 1000 # Change default limit of 20 entries to 1000
gh run list -b YOURBRANCH
set org_name (gh repo view --json owner --jq '.owner.login' 2>/dev/null)
if test -z "$org_name"
echo "Error: Not inside a GitHub repository or not logged in."
exit 1
end
for repo in (gh repo list $org_name --limit 100 --json name --jq '.[].name')
set runs (gh run list --repo "$org_name/$repo" --limit 5 2>/dev/null)
if test -n "$runs"
echo "=== Runs for $org_name/$repo ==="
printf "%s\n" $runs
echo ""
end
end
Related[edit]
See also[edit]
gh run list [ --workflow | --user ]gh run [ list | view ]gh [ auth | repo | secret | issue | workflow | webhook | environment | api | actions | run ] gh auth login, gh pr create, attestation, gh --help
Advertising: