This package provides one command, watch_gha_runs.  It takes a GitHub repo URL and a branch name, and displays the status of the latest GitHub Action

GitHub - nedbat/watchgha: Live display of current GitHub action runs

submited by
Style Pass
2023-03-14 15:00:09

This package provides one command, watch_gha_runs. It takes a GitHub repo URL and a branch name, and displays the status of the latest GitHub Action runs on that branch. If any of the runs are in progress, it will refresh the display each second with the current status.

The output shows runs and jobs. The current step of each job is shown, with a row of bullets indicating the number of steps, and which is current:

The code is a bit messy and undocumented, and there are no tests. If you want to change the code, open an issue and let's talk about it.

This started as a formatter for the output of gh run list from the gh run command. Then I tried gh run watch, but wasn't happy with its choices. So I wrote my own.

Leave a Comment