ManageIQ/miq_bot

PathBasedLabeler needs a global rules target

Open

#431 opened on Dec 14, 2018

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Ruby (38 forks)auto 404
enhancementgood first issuehelp wantedpinned

Repository metrics

Stars
 (16 stars)
PR merge metrics
 (PR metrics pending)

Description

The PathBasedLabeler requires configuration of each repo and their rules individually and there is no way to make a simple global rule.

current:

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:

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