GitHub runner

  • Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 308 11 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 302 02 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 1 09 Feb 2022
Ubuntu 22.04 Ubuntu 20.04
latest/beta 317 11 Dec 2024
Ubuntu 22.04
latest/beta 310 28 Nov 2024
Ubuntu 22.04
latest/edge 322 20 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
latest/edge 310 28 Nov 2024
Ubuntu 22.04 Ubuntu 20.04
latest/edge 4 26 Apr 2022
Ubuntu 22.04 Ubuntu 20.04
local-lxd/stable 306 17 Dec 2024
Ubuntu 22.04
local-lxd/edge 306 27 Nov 2024
Ubuntu 22.04
1/stable 177 05 Jun 2024
Ubuntu 22.04
1/edge 177 05 Jun 2024
Ubuntu 22.04
juju deploy github-runner
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

Help improve this document in the forum (guidelines). Last updated 4 months ago.