Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Below is a complete example showcasing how to define a build, which is executed
- Build changelog, given the tag
- Create release on GitHub - specifying body with constructed changelog

> Note: PRs will only show up in the changelog if assigned one of the default label categories "feature", "fix" or "test"
> Note: Pre v4 PRs will only show up in the changelog if assigned one of the default label categories "feature", "fix" or "test". Starting with v4 these PRs will be in the `Uncategorized` section.

<details><summary><b>Example</b></summary>
<p>
Expand Down
1 change: 1 addition & 0 deletions __tests__/releaseNotesBuilder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ it('Should fill `template` placeholders', async () => {

it('Should fill `template` placeholders, ignore', async () => {
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs_test/configuration_empty_all_placeholders.json'))
configuration.categories.pop() // drop `uncategorized` category
const releaseNotesBuilder = new ReleaseNotesBuilder(
null,
null,
Expand Down
2 changes: 2 additions & 0 deletions __tests__/releaseNotesBuilderPull.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ nhoelzl

it('Should match ordered ASC', async () => {
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs_test/configuration_asc.json'))
configuration.categories.pop() // drop `uncategorized` category
const options = {
owner: 'mikepenz',
repo: 'release-changelog-builder-action',
Expand All @@ -155,6 +156,7 @@ it('Should match ordered ASC', async () => {

it('Should match ordered DESC', async () => {
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs_test/configuration_desc.json'))
configuration.categories.pop() // drop `uncategorized` category
const options = {
owner: 'mikepenz',
repo: 'release-changelog-builder-action',
Expand Down
2 changes: 2 additions & 0 deletions __tests__/transform.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ it('Match multiple labels exhaustive for category', async () => {

it('Deduplicate duplicated PRs', async () => {
const customConfig = Object.assign({}, DefaultConfiguration)
customConfig.categories.pop() // drop `uncategorized` category
customConfig.duplicate_filter = {
pattern: '\\[ABC-....\\]',
on_property: 'title',
Expand All @@ -388,6 +389,7 @@ it('Deduplicate duplicated PRs', async () => {

it('Deduplicate duplicated PRs DESC', async () => {
const customConfig = Object.assign({}, DefaultConfiguration)
customConfig.categories.pop() // drop `uncategorized` category
customConfig.sort = 'DESC'
customConfig.duplicate_filter = {
pattern: '\\[ABC-....\\]',
Expand Down
Loading