mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Ignore shellchecks
This commit is contained in:
parent
7f67b0b49b
commit
6456430b6b
@ -48,6 +48,8 @@ _switch_to_branch() {
|
|||||||
|
|
||||||
_add_files() {
|
_add_files() {
|
||||||
echo "INPUT_FILE_PATTERN: ${INPUT_FILE_PATTERN}";
|
echo "INPUT_FILE_PATTERN: ${INPUT_FILE_PATTERN}";
|
||||||
|
|
||||||
|
# shellcheck disable=SC2086
|
||||||
git add ${INPUT_FILE_PATTERN};
|
git add ${INPUT_FILE_PATTERN};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -55,6 +57,7 @@ _local_commit() {
|
|||||||
echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}";
|
echo "INPUT_COMMIT_OPTIONS: ${INPUT_COMMIT_OPTIONS}";
|
||||||
echo "::debug::Apply commit options ${INPUT_COMMIT_OPTIONS}";
|
echo "::debug::Apply commit options ${INPUT_COMMIT_OPTIONS}";
|
||||||
|
|
||||||
|
# shellcheck disable=SC2206
|
||||||
INPUT_COMMIT_OPTIONS_ARRAY=( $INPUT_COMMIT_OPTIONS );
|
INPUT_COMMIT_OPTIONS_ARRAY=( $INPUT_COMMIT_OPTIONS );
|
||||||
|
|
||||||
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" \
|
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 "INPUT_PUSH_OPTIONS: ${INPUT_PUSH_OPTIONS}";
|
||||||
echo "::debug::Apply push options ${INPUT_PUSH_OPTIONS}";
|
echo "::debug::Apply push options ${INPUT_PUSH_OPTIONS}";
|
||||||
|
|
||||||
|
# shellcheck disable=SC2206
|
||||||
INPUT_PUSH_OPTIONS_ARRAY=( $INPUT_PUSH_OPTIONS );
|
INPUT_PUSH_OPTIONS_ARRAY=( $INPUT_PUSH_OPTIONS );
|
||||||
|
|
||||||
if [ -z "$INPUT_BRANCH" ]
|
if [ -z "$INPUT_BRANCH" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user