openrewrite / openrewrite/rewrite-github-actions
Use runner groups and labels
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1
- Forks
- 9
- Avg merge
- 5h 27m
- Merged PRs (30d)
- 12
Description
This recipe should remove the individual runner and use the runner group instead. It should also have the label property as an optional parameter
jobs:
build:
runs-on: ubuntu-latest
other:
runs-on: ubuntu-latest
Input to the recipe:
Job : jobs.build
Group : ubuntu-runners
Labels: labels: ubuntu-20.04-16core
Output:
jobs:
build:
group: ubuntu-runners
labels: ubuntu-20.04-16core
other:
runs-on: ubuntu-latest
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
Locate the recipe entry point that transforms a job's runs-on configuration, then inspect nearby recipe tests for the expected YAML representation. Use the issue's input and output examples and the linked GitHub Actions runner-group documentation as acceptance criteria, including support for an optional labels value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, java
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100