We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4feeedb commit f913d37Copy full SHA for f913d37
src/index.js
@@ -67,7 +67,7 @@ module.exports = async function run() {
67
// GitHub does not count merge commits when deciding whether to use
68
// the PR title or a commit message for the squash commit message.
69
nonMergeCommits = commits.filter(
70
- (commit) => !commit.commit.message.startsWith('Merge branch')
+ (commit) => commit.parents.length < 2
71
);
72
73
// We only need two non-merge commits to know that the PR
0 commit comments