From 3a2df796b874ef84e1edbbd32528b40573174256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Scha=CC=88fer?= <101886095+PeterSchafer@users.noreply.github.com> Date: Wed, 4 Sep 2024 10:48:24 +0200 Subject: [PATCH] chore: add warning to squash comits --- dangerfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dangerfile.js b/dangerfile.js index 2977903aad..9ecb676a4d 100644 --- a/dangerfile.js +++ b/dangerfile.js @@ -33,6 +33,10 @@ if (danger.github && danger.github.pr) { const prTitle = danger.github.pr.title; checkCommitMessage(prTitle, danger.github.pr.html_url); + + warn( + `There are multiple commits on your branch please squash them locally before merging!`, + ); } // Forgotten tests check