From c048fb8b03040036b1617e0390406690469af088 Mon Sep 17 00:00:00 2001 From: Julian Poyourow Date: Tue, 26 Oct 2021 09:42:32 -0700 Subject: [PATCH] fix: Consider merge commits for single commit validation (#127) --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index cc821fd47..5be2b4914 100644 --- a/src/index.js +++ b/src/index.js @@ -57,6 +57,8 @@ module.exports = async function run() { pull_number: contextPullRequest.number, per_page: 2 }); + + throw new Error(JSON.stringify(commits)); if (commits.length === 1) { try {