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

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

Open
tonglil opened this issue Jun 3, 2020 · 1 comment
Open

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

tonglil opened this issue Jun 3, 2020 · 1 comment

Comments

@tonglil
Copy link

tonglil commented Jun 3, 2020

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.

@alexcanessa
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants