Skip to content

Commit 423aadb

Browse files
authored
document github token permission (#333)
1 parent 7fc466a commit 423aadb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/config.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
//!
1010
//! * `DATABASE_URL`: postgres database URL
1111
//! * `DATABASE_POOL_SIZE`: number of connections to maintain in the pool
12-
//! * `GITHUB_ACCESS_TOKEN`: your access token from GitHub. See
12+
//! * `GITHUB_ACCESS_TOKEN`: your access token from GitHub. We use a classic token. See
1313
//! [this page](https://help.github.com/articles/creating-an-access-token-for-command-line-use/)
14-
//! for more information. You shouldn't need to check any of the boxes for granting scopes when
15-
//! creating it.
14+
//! for more information. You should check the following boxes when selecting scopes:
15+
//! * `public_repo`;
16+
//! * `read:user`;
17+
//! * `write:discussion`.
1618
//! * `GITHUB_USER_AGENT`: the UA string to send to GitHub (they request that you send your GitHub
1719
//! username or the app name you registered for the client ID)
1820
//! * `GITHUB_WEBHOOK_SECRETS`: a comma-delimited string of the secrets used for any ingestion

0 commit comments

Comments
 (0)