Register a self-hosted GitHub Actions runner for a repository
pks github runner register <owner/repo>$ pks github runner register my-org/my-repoRegister runner for my-org/my-repo
$ pks github runner register my-org/my-repo --labels gpu,largeRegister with custom labels
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.
admin:org scope (for org runners) or repo scope| Flag | Description |
|---|---|
--labels | Comma-separated list of custom labels |
--name | Runner name (defaults to hostname) |
--work | Working directory for the runner |