Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsimbalar/gha-build-monitor
Adapter to give access to GitHub Actions status via the CatLight Protocol
https://github.com/tsimbalar/gha-build-monitor
build-status catlight github-action
Last synced: about 7 hours ago
JSON representation
Adapter to give access to GitHub Actions status via the CatLight Protocol
- Host: GitHub
- URL: https://github.com/tsimbalar/gha-build-monitor
- Owner: tsimbalar
- License: mit
- Created: 2020-12-03T19:49:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T00:58:58.000Z (over 1 year ago)
- Last Synced: 2023-03-12T06:11:07.229Z (over 1 year ago)
- Topics: build-status, catlight, github-action
- Language: TypeScript
- Homepage:
- Size: 1.77 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Main](https://github.com/tsimbalar/gha-build-monitor/workflows/Main/badge.svg?event=push)
# gha-build-monitor
Adapter to give access to GitHub Actions status via the [CatLight Protocol](https://github.com/catlightio/catlight-protocol)
## How To
To use `gha-build-monitor` to monitor your GitHub Actions workflows, follow these steps :
### 1. Start the "proxy" locally
```
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.
### 2. Create a GitHub Access Token
You need a Personal Access Token (PAT) with the `repo` scope so that we can retrieve status information of your GitHub Actions.
1. Go to https://github.com/settings/tokens/new?scopes=repo&description=gha-build-monitor
2. Create a token with the scope `repo`
3. Copy the token### 3. Connecting Catlight to `gha-build-monitor`
In CatLight, you need to :
1. Add new connection
2. choose "CatLight-compatible"
3. Log in with :- Url : `http://localhost:9901/builds`
- "Use token"
- paste your token4. Connect
### 4. Choose the workflows you want to track
1. Select the GitHub Actions workflows you want to monitor
2. Connect### 5. Profit
Get notified about new builds, failing builds etc
## FAQ
### How to upgradeIf you followed the previous instructions, you should be able to run those commands :
```bash
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
```---
## RoadmapThis is still an early version (`v0.*`).
Here are some things that will probably be added before v1 :
- retrieving authors/contributors of each workflow run