Remove a runner from a job
MSALRemoves a runner label from the runs-on of a job, leaving the remaining runner labels untouched. Both sequences (runs-on: [self-hosted, linux]) and the labels of a runner group are supported. The runner is never removed when it is the only one left, as a job requires at least one runner.
org. openrewrite. github. RemoveRunnerRequired
The name of the job to update, use * to affect all the workflow jobs.
The runner label to remove. Labels are compared case-insensitively, as GitHub does.
mod run . --recipe= org. openrewrite. github. RemoveRunner \
-P jobName= build \
-P runner= self-hostedInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.