GitHub runner

  • By Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 256 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 244 27 Aug 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 1 09 Feb 2022
Ubuntu 22.04 Ubuntu 20.04
latest/beta 257 12 Sep 2024
Ubuntu 22.04
latest/beta 234 05 Aug 2024
Ubuntu 22.04
latest/edge 263 Today
Ubuntu 22.04 Ubuntu 20.04
latest/edge 262 13 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
latest/edge 4 26 Apr 2022
Ubuntu 22.04 Ubuntu 20.04
1/stable 177 05 Jun 2024
Ubuntu 22.04
1/edge 177 05 Jun 2024
Ubuntu 22.04
juju deploy github-runner --channel 1/edge
Show information

Platform:

Ubuntu
22.04 20.04

Token scopes

Fine grained access token scopes

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.

Organizational Runners

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
  • Contents: read (not required if the charm is configured to use OpenStack runners)
  • Pull requests: read (not required if the charm is configured to use OpenStack runners)

Repository Runners

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
  • Contents: read (not required if the charm is configured to use OpenStack runners)
  • Metadata: read
  • Pull requests: read (not required if the charm is configured to use OpenStack runners)

Personal access token scopes

Organizational Runners

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

  • repo
  • admin:org

Repository Runners

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

  • repo