1
0
mirror of synced 2026-01-05 21:04:17 -05:00
Files
docs/data/reusables/actions/automatically-adding-a-runner-to-a-group.md
2022-07-27 13:58:55 +10:00

446 B

You can use the configuration script to automatically add a new runner to a group. For example, this command registers a new runner and uses the --runnergroup parameter to add it to a group named rg-runnergroup.

./config.sh --url $org_or_enterprise_url --token $token --runnergroup rg-runnergroup

The command will fail if the runner group doesn't exist:

Could not find any self-hosted runner group named "rg-runnergroup".