spring-io / github-changelog-generator

Generates release notes that can be published to GitHub
Apache License 2.0
109 stars 34 forks source link

Group with "and" logic #79

Open yceballost opened 2 years ago

yceballost commented 2 years ago

Hi everyone,

Is it possible to create group of section with "and" logic?

For example: I'm using this action to generate my design changelog. We have two libraries, mobile and desktop

I'm trying to separate breaking changes in mobile and breaking changes in desktop

I tried:

- title: "Breaking changes in Mística Mobile (Figma)"
  labels: ["breaking change", "library: mobile"]
  group: "BB Mística Mobile"

- title: "Breaking changes in Mística Desktop (Figma)"
  labels: ["breaking change", "library: desktop"]
  group: "BB Mística Desktop"

But the action groups all the issues that have breaking change label OR library: mobile. I would like group with "and" logic, breaking change label AND library: mobile then, show it in this group.

Thanks!

philwebb commented 2 years ago

@yceballost It's not currently possible. If you're interesting in working on a PR you'd need to change this section of the code. Perhaps we could add a label-match property with any and all as possible values.