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
GitHub repositories created under any organization can be controlled by the GitHub administrators. However any repository created under an organization's user account is not controllable unless the organisation has adopted the GitHub enterprise-managed user (EMU) model.
@@ -12,56 +16,68 @@ Any public repository under the organization's user account that was created acc
12
16
13
17
> Can't be controlled by the administrator `https://github.com/<org-user>/<org-user-repo-name>`
14
18
15
-
## Setup
19
+
## Getting Started
16
20
17
-
Setup GitHub personal access token (PAT) as the environment variable
21
+
- Download the binary file for your operating system / architecture from the [Official GitHub Releases](https://github.com/boringtools/git-alerts/releases)
18
22
19
-
```commandline
20
-
export GITHUB_PAT=YOUR_GITHUB_PAT
23
+
- You can also install `git-alerts` using homebrew in MacOS and Linux
24
+
25
+
```bash
26
+
brew tap boringtools/tap
27
+
brew install boringtools/tap/git-alerts
28
+
```
29
+
30
+
- Alternatively, build from source
31
+
32
+
> Ensure $(go env GOPATH)/bin is in your $PATH
33
+
34
+
```bash
35
+
go install github.com/boringtools/git-alerts@main
21
36
```
22
37
23
-
## Dependencies
38
+
Setup GitHub personal access token (PAT) as the environment variable
24
39
25
-
```go
26
-
go mod tidy
40
+
```bash
41
+
export GITHUB_PAT=YOUR_GITHUB_PAT
27
42
```
28
43
29
44
## Usage
30
45
31
46
Scan GitHub repositories belonging to your organization users
32
47
33
-
```go
34
-
go run . scan --org your-org-name
48
+
```bash
49
+
git-alerts scan --org your-org-name
35
50
```
36
51
37
52
Monitor new public repositories being created by your organization users
38
53
39
-
```go
40
-
go run . monitor --org your-org-name
54
+
```bash
55
+
git-alerts monitor --org your-org-name
41
56
```
42
57
43
58
Monitor new public repositories being created by your organization users with slack notification
44
59
45
-
```go
46
-
go run . monitor --org your-org-name --slack-alert
@@ -72,4 +88,3 @@ go run . detect --org your-org-name
72
88
## Star History
73
89
74
90
[](https://star-history.com/#boringtools/git-alerts&Date)
0 commit comments