ManageIQ / ManageIQ/miq_bot

PathBasedLabeler needs a global rules target

Open
#431 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted pinned
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.