From 2fb839c669a15422d8bb81f4e8a08239bdee7849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6m=C3=B6ri=20Zsolt?= Date: Fri, 1 Nov 2019 11:11:19 +0100 Subject: [PATCH] Remove is_defined() --- entrypoint.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 37d53d4..50526fb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,10 +1,5 @@ #!/bin/sh -echo "${INPUT_COMMIT_MESSAGE}" -echo "${INPUT_COMMIT_OPTIONS}" -echo "${INPUT_BRANCH}" -echo "${INPUT_FILE_PATTERN}" - set -eu # Set up .netrc file with GitHub credentials @@ -24,10 +19,6 @@ EOF git config --global user.name "GitHub Actions" } -is_defined() { - [ ! -z "${1}" ] -} - # This section only runs if there have been file changes echo "Checking for uncommitted changes in the git working tree." if ! git diff --quiet