From 1a8c3232f5001897f275e650cb4a1d4aac7049b2 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sat, 23 Sep 2023 10:40:03 +0200 Subject: [PATCH] Fix backports added in changelogs (#10) --- src/index.ts | 1 + src/utils/config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 4a4722c..160b31e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -79,6 +79,7 @@ async function run() { ? [releaseBranch] // use all commits of release branch if first release : { from: lastestTag, + symmetric: false, to: releaseBranch, } ); diff --git a/src/utils/config.ts b/src/utils/config.ts index 225d63d..b950768 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -64,7 +64,7 @@ export const defaultUserConfig: UserConfig = { default: true, }, ], - skipLabels: ["skip-release", "skip-changelog"], + skipLabels: ["skip-release", "skip-changelog", "regression"], skipCommitsWithoutPullRequest: true, commentOnReleasedPullRequests: true, };