Mention purpose of GitHub private tokens

See #578.
This commit is contained in:
Thaddee Tyl 2016-01-17 21:02:42 +01:00
parent 102e324077
commit 2d24d18ff8

View File

@ -4898,7 +4898,9 @@ var githubHeaders = {
'Accept': 'application/vnd.github.v3+json'
};
// You can manage your personal github token at https://github.com/settings/tokens
// Personal tokens allow access to GitHub private repositories.
// You can manage your personal GitHub token at
// <https://github.com/settings/tokens>.
if (serverSecrets && serverSecrets.gh_token) {
githubHeaders['Authorization'] = 'token ' + serverSecrets.gh_token;
}