Skip to content

Commit 7bfb19c

Browse files
chore: Release 3.4.6 [skip ci]
1 parent f913d37 commit 7bfb19c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
### [3.4.6](https://github.com/amannn/action-semantic-pull-request/compare/v3.4.5...v3.4.6) (2021-10-31)
4+
5+
6+
### Bug Fixes
7+
8+
* 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))
9+
310
### [3.4.5](https://github.com/amannn/action-semantic-pull-request/compare/v3.4.4...v3.4.5) (2021-10-28)
411

512

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33354,7 +33354,7 @@ module.exports = async function run() {
3335433354
// GitHub does not count merge commits when deciding whether to use
3335533355
// the PR title or a commit message for the squash commit message.
3335633356
nonMergeCommits = commits.filter(
33357-
(commit) => !commit.commit.message.startsWith('Merge branch')
33357+
(commit) => commit.parents.length < 2
3335833358
);
3335933359

3336033360
// We only need two non-merge commits to know that the PR

0 commit comments

Comments
 (0)