Skip to content

Allow more complex labels to be defined #16

@reececomo

Description

@reececomo

Currently only basic label config is supported:

labelPRBasedOnFilePath:
  schema:
    - database/migrations/*

Supporting more advance options (specifically color and description) would add a lot of power to the tool (particularly if combined with #15)

Example:

labelPRBasedOnFilePath:
  - label: schema
    files: ['database/migrations/*']

  - label: 'legacy/models :fire:'
    color: '#f04411'
    description: 'Warning: This PR touches the legacy data models.'
    files:
      - lib/models/*
      - lib/models/**/*

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions