actions / actions/actions-runner-controller
Support --no-default-labels runner configuration option
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.5k
- Forks
- 1.5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 27
Description
What would you like added?
Support for removing the default labels from a runner was added in https://github.com/actions/runner/pull/2443. This takes the form of an additional flag being passed to config.sh.
It appears that there is precedent for plumbing such options through in the startup.sh script here.
Why is this needed?
I would like to see this option on ARC runners as well. We have some indiscriminate workflows in our organization that use the self-hosted label only and I would like to offer a runner without the default label set, making its use "opt in" without having to make adjustments to many repositories.
I imagine this would also be useful for all the reasons that it was originally added to the runner config.sh script.
Additional context
It was specifically suggested here to open an issue on this project to get this added.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the runner/startup.sh script referenced in the issue and compare its option plumbing with the runner config.sh flag described in actions/runner#2443. Trace how startup.sh builds the configuration arguments, then verify that --no-default-labels is accepted and passed through for ARC runners.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, kubernetes, shell
- Domain
- ci-cd, infrastructure
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100