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.

Changing the token

Create a new GitHub Personal Access Token.

An example classic token scope for repository use:

  • repo

For managing token scopes (fine-grained token), refer to the token scopes Reference page.

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>