Skip to content

Add support for matching all section labels#125

Open
GollapudiSrikanth wants to merge 2 commits into
spring-io:mainfrom
GollapudiSrikanth:srikanthgollapudi-label-match-all
Open

Add support for matching all section labels#125
GollapudiSrikanth wants to merge 2 commits into
spring-io:mainfrom
GollapudiSrikanth:srikanthgollapudi-label-match-all

Conversation

@GollapudiSrikanth

Copy link
Copy Markdown

This adds support for configuring how section labels are matched when generating changelog sections.

Previously, a section matched an issue when any configured label matched one of the issue’s labels. This made it difficult to define sections that require a combination of labels, such as breaking change and library: mobile.

This change adds a new label-match section property with two options:

  • any: existing behavior and the default
  • all: requires all configured labels to match

Closes #79

Example:

changelog:
  sections:
  - title: "Mobile Breaking Changes"
    labels: ["breaking change", "library: mobile"]
    label-match: all

Signed-off-by: Srikanth Gollapudi <42247688+gollapudisrikanth@users.noreply.github.com>
Signed-off-by: Srikanth Gollapudi <42247688+gollapudisrikanth@users.noreply.github.com>
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.

Group with "and" logic

1 participant