From 9aba96f268d1cd21517b123bc217c024042f03e3 Mon Sep 17 00:00:00 2001 From: Blake Dunson <61631900+blakedunson@users.noreply.github.com> Date: Fri, 30 Jun 2023 11:40:51 -0400 Subject: [PATCH] Allow amended commits to be empty (#119) Co-authored-by: Conrad --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3e440bf..d32a8d5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -103,7 +103,7 @@ if _git_changed; then if $INPUT_SAME_COMMIT; then echo "Amending the current commit..." git pull - git commit --amend --no-edit + git commit --amend --no-edit --allow-empty git push origin -f else if [ "$INPUT_COMMIT_DESCRIPTION" != "" ]; then