-
Notifications
You must be signed in to change notification settings - Fork 3
Create a GITHUB token
David Muñoz Novoa edited this page Oct 6, 2021
·
7 revisions
-
From
Settings
in Github go toDeveloper Settings
and, underPersonal access tokens
, click onGenerate new token
. -
Select
No expiration
. -
Choose a name for the token and ensure you have marked the following rights (and their subcategories):
- repo
- workflow
- admin:org
- admin:public_key
- admin:repo_hook
- gist
- notifications
- user
- delete_repo
-
Generate the token.
- Copy your token hash and export it on your
.bashrc
file so you can use it when deploying a pull request withapply_pr
.
export GITHUB_TOKEN=[YOUR_GITHUB_TOKEN_HASH]
- Reboot your session or use
source ~/.bashrc
to import the token.