Skip to content

Commit

Permalink
Prefill new token description and scopes
Browse files Browse the repository at this point in the history
As per issue #12 this change pre-fills the minimum required scopes for the personal access token.
I've also included a default description of 'gitty' for the 'note' field.
Since the link now points directly to the 'new token' form, I've also changed the clickable part of the sentence from 'profile settings' to 'create a new token' to better reflect the action of the link.
  • Loading branch information
FiXato authored and muesli committed Sep 7, 2021
1 parent e656106 commit 98f1448
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ Compiling gitty is easy, simply run:

Note: In order to access GitHub's API, `gitty` requires you to provide a valid
GitHub token in an environment variable called either `GITHUB_TOKEN` or
`GITTY_TOKEN`. You can create a new token in your
[profile settings](https://github.com/settings/tokens):
`GITTY_TOKEN`. You can [create a new token](https://github.com/settings/tokens/new?scopes=repo:status,public_repo,read:user,read:org&description=gitty) in your profile settings:

`Developer settings` > `Personal access tokens` > `Generate new token`

Expand Down

0 comments on commit 98f1448

Please sign in to comment.