From a51a186977b445e8d99cc7ec7c8dda4600651309 Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 6 May 2020 10:29:22 +0200 Subject: [PATCH] Fixed a bug with function names --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index a0f005b..ea3ce32 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ set -eu # FUNCTIONS # Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh) -_git_setup { +_git_setup() { cat <<- EOF > $HOME/.netrc machine github.com login $GITHUB_ACTOR @@ -21,7 +21,7 @@ EOF } # Checks if any files are changed -_git_changed { +_git_changed() { [[ -n "$(git status -s)" ]] }