mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Reenable if condition
This commit is contained in:
parent
d6493da30b
commit
25c0d721b7
@ -30,14 +30,13 @@ then
|
|||||||
# Switch to branch from current Workflow run
|
# Switch to branch from current Workflow run
|
||||||
git checkout $INPUT_BRANCH
|
git checkout $INPUT_BRANCH
|
||||||
|
|
||||||
# if [ -z ${INPUT_FILE_PATTERN+x} ];
|
if [ -z ${INPUT_FILE_PATTERN+x} ];
|
||||||
# then
|
then
|
||||||
# git add .
|
git add .
|
||||||
# else
|
else
|
||||||
# git add $INPUT_FILE_PATTERN
|
echo "INPUT_FILE_PATTERN value: $INPUT_FILE_PATTERN";
|
||||||
# fi
|
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>"
|
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user