Example: use GitHub authentication with ribbity

ribbity-org/ribbity-docs#6


If you need to point ribbity at a private repository or want to retrieve issues faster using the GitHub API, you need to use GitHub authentication.

First, set github_username = 'username' in your config file, replacing username with your actual github username :).

Second, create a Personal Authentication Token (PAT) that has read access to your account, per the GitHub instructions.

Third, set the RIBBITY_GH_TOKEN environment variable to the value of the PAT, e.g.

export RIBBITY_GH_TOKEN=ghp_n317359259835nsdf7813rjdsfh1M

where ghp_ string is your PAT.

Now, when you run ribbity pull you should have access to private repositories and authenticated use of the GitHub API.

Categories

This example belongs to the following categories: