Adapter to give access to GitHub Actions status via the CatLight Protocol
To use gha-build-monitor
to monitor your GitHub Actions workflows, follow these steps :
docker run --name gha-build-monitor -d -p 9901:9901 --restart unless-stopped ghcr.io/tsimbalar/gha-build-monitor
Open http://localhost:9901/
in a browser to check that the server is up and running.
You need a Personal Access Token (PAT) with the repo
scope so that we can retrieve status information of your GitHub Actions.
- Go to https://github.com/settings/tokens/new?scopes=repo&description=gha-build-monitor
- Create a token with the scope
repo
- Copy the token
In CatLight, you need to :
- Add new connection
- choose "CatLight-compatible"
- Log in with :
- Url :
http://localhost:9901/builds
- "Use token"
- paste your token
- Connect
- Select the GitHub Actions workflows you want to monitor
- Connect
Get notified about new builds, failing builds etc
If you followed the previous instructions, you should be able to run those commands :
docker stop gha-build-monitor
docker rm gha-build-monitor
docker pull ghcr.io/tsimbalar/gha-build-monitor:latest
docker run --name gha-build-monitor -d -p 9901:9901 --restart unless-stopped ghcr.io/tsimbalar/gha-build-monitor
This is still an early version (v0.*
).
Here are some things that will probably be added before v1 :
- retrieving authors/contributors of each workflow run