Skip to content

Skipping Jobs

vzakaznikov edited this page Jan 17, 2025 · 3 revisions

By default, a runner will be created for any queued job that has self-hosted label. If needed, you can skip creating runners if a job does not have a specified labels using the --with-label option.

✋ Note: By default, the --with-label is set to self-hosted to match only the jobs that contain the self-hosted label.
✋ Note: The --with-label option is checked before the meta labels are expanded.

More than one label can be specified. If multiple labels are specified, then the job must contain all of the labels.

For example,

github-hetzner-runners --with-label self-hosted --with-label on-demand

will only create runners for jobs that contain both the self-hosted and the on-demand labels and skip any job that is missing these label.

Clone this wiki locally