github-release-notes icon indicating copy to clipboard operation
github-release-notes copied to clipboard

How to "groupBy" PRs that don't have the labels at the end?

Open tonglil opened this issue 5 years ago • 1 comments

I don't want to specify every label, and some PRs don't need to have labels but should still be included in the release.

There doesn't seem to be a way to do that currently.

tonglil avatar Jun 03 '20 17:06 tonglil

You're right! I forgot to document it 😅

There are two things that you can do:

  1. Using the option groupBy with value "label". That will group all the PRs with the same label under the same title, and you can add the option noLabel (default "closed") for the ones that don't have a label. e.g.
{
  "groupBy": "label",
  "noLabel": "done"
  1. Using the option groupBy with value { [groupName: string]: Array<string> }. To group all the other ones - including the ones with no label - use "...". e.g.
{
  "groupBy": {
    "Bug fixes": ["bug", "fix"],
    "Others": ["..."]

Hope that's clear and I'll add it to the docs

alexcanessa avatar Jun 03 '20 21:06 alexcanessa