GitHub runner

  • Canonical IS DevOps
Channel Revision Published Runs on
latest/stable 273 07 Oct 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 274 25 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 1 09 Feb 2022
Ubuntu 22.04 Ubuntu 20.04
latest/beta 282 10 Oct 2024
Ubuntu 22.04
latest/beta 234 05 Aug 2024
Ubuntu 22.04
latest/edge 285 Yesterday
Ubuntu 22.04 Ubuntu 20.04
latest/edge 283 10 Oct 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/stable
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 2 months ago.