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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,20 @@ Inside [`config/example`](./config/example), you can find an example configurati
54
54
55
55
You may also be interested in the [live configuration of the OpenRail Association's organization](https://github.com/OpenRailAssociation/openrail-org-config).
56
56
57
+
### Authentication via token or app
58
+
59
+
As this tool issues many API requests (both on REST and GraphQL API), authentication is highly recommended. This is supported via personal access tokens of a user (PAT) or a GitHub App which you can setup yourself.
60
+
61
+
Access tokens and apps need the following permissions:
62
+
* Repository permissions
63
+
* Administration: read and write
64
+
* Metadata: read
65
+
* Organization permissions:
66
+
* Administration: read and write
67
+
* Members: read and write
68
+
69
+
You can set the required secrets in `config/app.yaml` or via environment variables (`GITHUB_TOKEN` or `GITHUB_APP_ID` and `GITHUB_APP_PRIVATE_KEY`).
70
+
57
71
## Run the program
58
72
59
73
You can execute the program using the command `gh-org-mgr`. `gh-org-mgr --help` shows all available arguments and options.
0 commit comments