A CLI tool to wait for GitHub Actions workflow runs to complete and open them in your browser.
go install github.com/kevinburke/github-actions@latestgithub-actions command [arguments]
Commands:
open Open the workflow run in your browser
version Print the current version
wait Wait for workflow runs to finish on a branch
Wait for all GitHub Actions workflow runs on the current commit to complete.
github-actions wait [flags] [branch]Flags:
--remote- Git remote to use (default "origin")--timeout- Maximum time to wait (default 1h)--failed-output-lines- Number of lines of failed output to display (default 100)
Examples:
# Wait for workflows on current branch
github-actions wait
# Wait for workflows on a specific branch
github-actions wait main
# Wait with a 30 minute timeout
github-actions wait --timeout 30mOpen the GitHub Actions workflow run for the current branch in your browser.
github-actions open [flags] [branch]Flags:
--remote- Git remote to use (default "origin")
The tool looks for a GitHub token in the following order:
GH_TOKENenvironment variableGITHUB_TOKENenvironment variable- Config file
$XDG_CONFIG_HOME/github-actions$HOME/cfg/github-actions$HOME/.github-actions
default = "github.com"
[hosts]
[hosts."github.com"]
token = "ghp_xxxx"
[hosts."github.mycompany.com"]
token = "ghp_yyyy"The token needs the repo scope (or actions:read for public repositories) to
access workflow run information.
Create a token at: https://github.com/settings/tokens