gh run

View, run and watch recent GitHub Actions workflow runs. More information: https://cli.github.com/manual/gh_run.

gh run view

gh run view {{workflow_run_number}}

gh run view --job={{job_number}}

gh run view --job={{job_number}} --log

gh run view {{workflow_run_number}} --exit-status && {{echo "run pending or passed"}}

gh run watch

gh run watch {{workflow_run_number}}

gh run rerun {{workflow_run_number}}