From 25af1e5a4bcefbf2ac5ecc7b6d3b9f29823dc005 Mon Sep 17 00:00:00 2001 From: Conrad Date: Sat, 17 Oct 2020 20:12:34 +0200 Subject: [PATCH] Testing with git pull option --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 9920bbe..27628e2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -51,6 +51,7 @@ if _git_changed; then # Commit and push changes back if $INPUT_SAME_COMMIT; then echo "Amending the current commit..." + git pull git commit --amend --no-edit else if $INPUT_ONLY_CHANGED; then