pks github runner register

stable

Register a self-hosted GitHub Actions runner for a repository

Usage: pks github runner register <owner/repo>
Platform: linuxmacos
Category: infrastructure

Examples

$ pks github runner register my-org/my-repo

Register runner for my-org/my-repo

$ pks github runner register my-org/my-repo --labels gpu,large

Register with custom labels

pks github runner register

Registers a new self-hosted GitHub Actions runner for the specified repository. The runner is configured with the repository's runner token and can be customized with labels.

Prerequisites

  • GitHub personal access token with admin:org scope (for org runners) or repo scope
  • The target repository must exist

Options

FlagDescription
--labelsComma-separated list of custom labels
--nameRunner name (defaults to hostname)
--workWorking directory for the runner