Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying tagpr labels #193

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

5ouma
Copy link
Contributor

@5ouma 5ouma commented Mar 22, 2025

  1. Change the PR label name

    [tagpr]
      labelName = original-label

    A label named original-label, will be added to PRs created by tagpr.
    When major or minor changes are detected,
    the labels will remain tagpr:major and tagpr:minor respectively.

  2. Use the custom labels

    [tagpr]
      useCustomLabels = true
      majorLabels = major-label1,major-label2
      minorLabels = minor-label,minor-label2

    When major or minor changes are detected,
    the labels will be major-label1 and minor-label1 respectively.
    If the majorLabels or minorLabels is not set,
    the labels will remain tagpr:major and tagpr:minor respectively.

Closes #168

5ouma added 6 commits March 22, 2025 15:47
Change it to what users like.
To prevent breaking change, default is not changed.
Notice the default label name is not changed.
Use the first item of major and minor labels.
To prevent breaking change, defaults are not changed.
Notice the default labels are not changed.
@5ouma 5ouma force-pushed the feat-config-specify-label branch from 54562fb to fb4a076 Compare March 22, 2025 06:48
@5ouma 5ouma changed the title Allow specifying the tagpr labels Allow specifying tagpr labels Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use specific tags instead of tagpr or tagpr:major
1 participant