gh-run

View, run and watch recent GitHub Actions workflow runs.

TLDR

Interactively select a run to see information about the jobs

$ gh run view
copy

Display information about a specific run

$ gh run view [workflow_run_number]
copy

Display information about the steps of a job

$ gh run view --job=[job_number]
copy

Display the log of a job

$ gh run view --job=[job_number] --log
copy

Check a specific workflow and exit with a non-zero status if the run failed

$ gh run view [workflow_run_number] --exit-status && [echo "run pending or passed"]
copy

Interactively select an active run and wait until it's done

$ gh run watch
copy

Display the jobs for a run and wait until it's done

$ gh run watch [workflow_run_number]
copy

Re-run a specific workflow

$ gh run rerun [workflow_run_number]
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies