Note: In addition to having a token with the necessary permissions, the user who owns the token also must have admin access to the organisation or repository.
The following are the permissions scopes required for the GitHub runners when registering as an organisational runner.
Organisation:
- Self-hosted runners: read & write
Repository:
- Actions: read (required if COS integration is enabled and private repositories exist)
- Administration: read
The following are the permissions scopes required for the GitHub runners when registering as an repository runner.
- Actions: read (required if COS integration is enabled and the repository is private)
- Administration: read & write
- Metadata: read
To use this charm for GitHub organisations, the following scopes should be selected:
repo
admin:org
To use this charm for GitHub repositories, the following scopes should be selected:
repo