github-release-notes
github-release-notes copied to clipboard
How to "groupBy" PRs that don't have the labels at the end?
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.
You're right! I forgot to document it 😅
There are two things that you can do:
- Using the option
groupBywith value"label". That will group all the PRs with the same label under the same title, and you can add the optionnoLabel(default"closed") for the ones that don't have a label. e.g.
{
"groupBy": "label",
"noLabel": "done"
- Using the option
groupBywith 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