actions-watcher
v0.1.11
Published
Fail-fast watcher for GitHub Actions workflow runs
Maintainers
Readme
actions-watcher
Fail-fast GitHub Actions watcher written in Go.
The CLI monitors one or more workflow run IDs and exits immediately when any job or step reaches a failing conclusion (failure, cancelled, timed_out, etc.).
Install
npm i -g actions-watcher
actions-watcher --helpUsage
actions-watcher watch [--repo owner/repo] [--interval seconds] [--token token] RUN_ID [RUN_ID ...]
# shorthand (without explicit subcommand)
actions-watcher [--repo owner/repo] [--interval seconds] RUN_ID [RUN_ID ...]Authentication is resolved in this order:
--tokenGH_TOKENorGITHUB_TOKENgh auth token
Repository slug is resolved in this order:
--repoGITHUB_REPOSITORYgit remote get-url origin
Examples
# Watch a single run
actions-watcher watch 1934567890
# Watch multiple runs in one command
actions-watcher watch --repo amxv/computer-mcp 1934567890 1934567999
# Faster polling for local debugging
actions-watcher --interval 1.0 --repo amxv/computer-mcp 1934567890Development
make check
make build
./dist/actions-watcher --helpInstall locally:
make install-local
actions-watcher --helpRelease
Pushing a tag vX.Y.Z triggers .github/workflows/release.yml:
- test + vet + node checks
- cross-platform binary build
- GitHub release asset upload
- npm publish with the tag version
Required GitHub secret:
NPM_TOKEN
