Skip to content

Skipping Jobs

vzakaznikov edited this page Mar 7, 2024 · 2 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.

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