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
Copy file name to clipboardExpand all lines: README.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,6 @@ A simple service to query GitHub issues & pull requests.
3
3
* See [Server Mode](#server-mode) for using it as an [entrello](https://github.com/utkuufuk/entrello) service.
4
4
* See [CLI Mode](#cli-mode) for using it as a CLI tool.
5
5
6
-
## Configuration
7
-
Put your environment variables in a file called `.env`.
8
-
9
-
See `.env.example` for reference.
10
-
11
-
12
6
## Server Mode
13
7
Start the server:
14
8
```sh
@@ -48,6 +42,19 @@ go run ./cmd/cli prlmy
48
42
go run ./cmd/cli prlme
49
43
```
50
44
45
+
## Configuration
46
+
Put your environment variables in a file called `.env`, based on `.env.example`.
47
+
48
+
| Environment Variable | Description |
49
+
|-|-|
50
+
|`PERSONAL_ACCESS_TOKEN`| GitHub personal access token |
51
+
|`ORG_NAME`| GitHub organization name (required for `prlo`, `prlmy` and `prlme`) |
52
+
|`USER_NAME`| GitHub user name (required for `prlo` and `prlme`) |
53
+
|`SUBSCRIBED_REPOS`| Subscribed GitHub repositories (required for `prlo`) |
54
+
|`PORT`| HTTP port (server mode only) |
55
+
|`SECRET`| API secret (server mode only, optional) |
56
+
57
+
51
58
## Running With Docker
52
59
A new [Docker image](https://github.com/utkuufuk?tab=packages&repo_name=github-service) will be created upon each [release](https://github.com/utkuufuk/github-service/releases).
0 commit comments