Skip to content

Instantly share code, notes, and snippets.

@bjorn2404
Created January 26, 2024 05:41
Show Gist options
  • Save bjorn2404/dcf37a6a9350a58438bf24fc51a9e4e3 to your computer and use it in GitHub Desktop.
Save bjorn2404/dcf37a6a9350a58438bf24fc51a9e4e3 to your computer and use it in GitHub Desktop.
CircleCI environment variable access token format for GitHub

After a GitHub access token is created/rotated a CircleCI Environment Variable may need to be updated using the following steps:

CircleCI > Project Settings > Environment Variables > Add Environment Variable

The COMPOSER_AUTH name is picked up automatically - if there's an existing one just click the "Add Enviornment Variable" button with the same name to replace.

Value format (replace with your token value):

{"github-oauth": {"github.com": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment