github-runner docs: How to change GitHub personal access token

How to change GitHub personal access token

This charm supports changing the GitHub personal access token (PAT) used.

Personal access token scope

To use this charm for GitHub repositories, the following scopes should be selected:

  • repo

To use this charm for GitHub organisations, the following scopes should be selected:

  • repo
  • admin:org

Changing the token

By using juju config to change the charm configuration token the charm unregisters and removes the old self-hosted runners and instantiates new ones.

juju config <APP_NAME> token=<TOKEN>