From 6456430b6b0b92ff51a83476962d42f640b4429b Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Thu, 15 Oct 2020 20:15:31 +0200 Subject: [PATCH] Ignore shellchecks --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 70ab4ab..cfe6823 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -48,6 +48,8 @@ _switch_to_branch() { _add_files() { echo "INPUT_FILE_PATTERN: ${INPUT_FILE_PATTERN}"; + + # shellcheck disable=SC2086 git add ${INPUT_FILE_PATTERN}; } @@ -55,6 +57,7 @@ _local_commit() { echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}"; echo "::debug::Apply commit options ${INPUT_COMMIT_OPTIONS}"; + # shellcheck disable=SC2206 INPUT_COMMIT_OPTIONS_ARRAY=( $INPUT_COMMIT_OPTIONS ); git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" \ @@ -80,6 +83,7 @@ _push_to_github() { echo "INPUT_PUSH_OPTIONS: ${INPUT_PUSH_OPTIONS}"; echo "::debug::Apply push options ${INPUT_PUSH_OPTIONS}"; + # shellcheck disable=SC2206 INPUT_PUSH_OPTIONS_ARRAY=( $INPUT_PUSH_OPTIONS ); if [ -z "$INPUT_BRANCH" ]