You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Go-based service to aggregate and analyze data from GitHub Actions workflows across multiple repositories. This application provides insights into workflow runs, success rates, failure rates, and other statistics over customizable time ranges.
3
+
GitHub Actions Aggregator is a Go-based service designed to collect, aggregate, and analyze data from GitHub Actions workflows across multiple repositories. This application provides valuable insights into workflow runs, success rates, failure rates, and other statistics over customizable time ranges.
4
4
5
5
## Table of Contents
6
6
@@ -17,7 +17,7 @@ A Go-based service to aggregate and analyze data from GitHub Actions workflows a
17
17
18
18
## Features
19
19
20
-
-**OAuth 2.0 Authentication**: Securely authenticate users via GitHub OAuth.
20
+
-**OAuth 2.0 Authentication**: Secure user authentication via GitHub OAuth.
21
21
-**Data Collection**:
22
22
-**Webhooks**: Receive real-time updates on workflow events.
23
23
-**Polling**: Periodically poll GitHub API to ensure data completeness.
@@ -29,11 +29,10 @@ A Go-based service to aggregate and analyze data from GitHub Actions workflows a
29
29
30
30
## Prerequisites
31
31
32
-
-**Go**: Version 1.18 or higher.
33
-
-**GitHub Account**: For OAuth authentication and API access.
34
-
-**PostgreSQL**: For storing data.
35
-
-**Redis** (optional): For caching (if implemented).
36
-
-**Docker** (optional): For containerization and deployment.
32
+
- Go (version 1.18 or higher)
33
+
- PostgreSQL
34
+
- GitHub Account (for OAuth authentication and API access)
35
+
- Docker (optional, for containerization)
37
36
38
37
## Installation
39
38
@@ -44,16 +43,15 @@ A Go-based service to aggregate and analyze data from GitHub Actions workflows a
44
43
cd github-actions-aggregator
45
44
```
46
45
47
-
2.**Install Dependencies**
48
-
49
-
```bash
46
+
2. Install dependencies:
47
+
```
50
48
go mod download
51
49
```
52
50
53
-
3.**Set Up Environment Variables**
54
-
51
+
3. Set up environment variables:
55
52
Create a `.env` file or export the required environment variables:
Instead of querying the GitHub API for each request, we will query our database. This will be faster and cheaper. At the organization level, a webhook is created that sends events to our server.
0 commit comments