From 608440b1cfb376e7ebeb9d81d98113984e432a0d Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Tue, 6 Jul 2021 09:10:02 -0400 Subject: [PATCH] --interactive --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a61e780..16458c7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -73,7 +73,7 @@ git checkout -b $HEAD_BRANCH origin/$HEAD_BRANCH # Do an exact check instead of `rebase *` so it's not possible to inject malicious commands if [[ $(jq -r ".comment.body" "$GITHUB_EVENT_PATH" | grep -Fq "/rebase --autosquash") -eq 0 ]]; then - git rebase --autosquash origin/$BASE_BRANCH + git rebase --interactive --autosquash origin/$BASE_BRANCH else git rebase origin/$BASE_BRANCH fi