Guide: Refreshing personal access tokens

  1. Log into GitHub as openactive-bot

  2. Navigate to "Fine-grained personal access tokens" in the Profile settings of openactive-bot

  3. Choose the access token that has expired:

  4. Click "Regenerate token" on the right hand side

  5. Choose a date that is 12 months from today, and click "Regenerate token":

  6. Copy the new token (e.g. github_pat_...) from the page

  7. Update the token

    • For VOCAB_WORKFLOW_GH_ACCESS_TOKEN navigate to the Heroku app pipeline named "skos-vocabulary-editors", and then open each app in turn, click "Settings", "Reveal Config Vars", and update VOCAB_WORKFLOW_GH_ACCESS_TOKEN to the new value.

    • For PUBLIC_REPO_ACCESS_TOKEN navigate to the "Organization secrets" within the "openactive" GitHub Organization settings, and update PUBLIC_REPO_ACCESS_TOKEN to the new value.

      • NOTE: Please read the edit page carefully as you do not need to delete the token to update it, the value can be updated by clicking "enter a new value":

Last updated