drupal-project icon indicating copy to clipboard operation
drupal-project copied to clipboard

Add a GitHub OAuth token to Lando setup.

Open tormi opened this issue 4 years ago • 0 comments

Let's store our personal token in ~/.ssh folder and copy it over to /var/www/.composer/auth.json during Lando setup so that it's always there. Typical GitHub OAuth token request:

GitHub API limit (60 calls/hr) is exhausted, could not fetch https://api.github.com/repos/wunderio/ip_anonymisation_helper/tags?per_page=100. Create a GitHub OAuth token to go over the API rate limit. You can also wait until 2021-04-27 17:14:54 for the rate limit to reset.

Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+ecc3eee72d06+2021-04-27+1708 to retrieve a token. It will be stored in "/var/www/.composer/auth.json" for future use by Composer. Token (hidden):

tormi avatar Apr 27 '21 17:04 tormi