From d6493da30b540c0f06ff96c4d03ec60052fc5c59 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sat, 26 Oct 2019 13:58:34 +0200 Subject: [PATCH] Disable if-condition --- entrypoint.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ea8ca1f..24555a7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,12 +30,14 @@ then # Switch to branch from current Workflow run git checkout $INPUT_BRANCH - if [ -z ${INPUT_FILE_PATTERN+x} ]; - then - git add . - else - git add $INPUT_FILE_PATTERN - fi + # if [ -z ${INPUT_FILE_PATTERN+x} ]; + # then + # git add . + # else + # git add $INPUT_FILE_PATTERN + # fi + + git add $INPUT_FILE_PATTERN git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>"