PathBasedLabeler needs a global rules target
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 16
- Forks
- 39
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
The PathBasedLabeler requires configuration of each repo and their rules individually and there is no way to make a simple global rule.
current:
```yaml
path_based_labeler:
included_repos:
- ManageIQ/manageiq
- ManageIQ/manageiq-ui-classic
rules:
ManageIQ/manageiq:
- *ansible_tower_rule
- *dependencies_rule
- *sql_migration_rule
ManageIQ/manageiq-ui-classic:
- *graphics_rule
- *dependencies_rule
```
requested:
```yaml
path_based_labeler:
included_repos: *core_repos
rules:
"*":
- *dependencies_rule
- *sql_migration_rule
ManageIQ/manageiq:
- *ansible_tower_rule
ManageIQ/manageiq-ui-classic:
- *graphics_rule
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 by locating the PathBasedLabeler implementation and its configuration handling in the Ruby repository, using the current and requested YAML examples as the behavior reference. Done means a global "*" rules target applies shared rules while repository-specific rules continue to work, with the relevant tests updated or added.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100