From 7bfb19c48fc334d3dacb072cf982e81535041209 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 31 Oct 2021 08:59:54 +0000 Subject: [PATCH] chore: Release 3.4.6 [skip ci] --- CHANGELOG.md | 7 +++++++ dist/index.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d366de99b..6db045f5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [3.4.6](https://github.com/amannn/action-semantic-pull-request/compare/v3.4.5...v3.4.6) (2021-10-31) + + +### Bug Fixes + +* Better strategy to detect merge commits ([#132](https://github.com/amannn/action-semantic-pull-request/issues/132)) ([f913d37](https://github.com/amannn/action-semantic-pull-request/commit/f913d374b7bc698a5831a12c8955d1373c439548)) + ### [3.4.5](https://github.com/amannn/action-semantic-pull-request/compare/v3.4.4...v3.4.5) (2021-10-28) diff --git a/dist/index.js b/dist/index.js index 5ff5dc42e..c3e5c8ec3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33354,7 +33354,7 @@ module.exports = async function run() { // GitHub does not count merge commits when deciding whether to use // the PR title or a commit message for the squash commit message. nonMergeCommits = commits.filter( - (commit) => !commit.commit.message.startsWith('Merge branch') + (commit) => commit.parents.length < 2 ); // We only need two non-merge commits to know that the PR