Disable if-condition
This commit is contained in:
parent
5de23163f2
commit
d6493da30b
@ -30,12 +30,14 @@ then
|
||||
# Switch to branch from current Workflow run
|
||||
git checkout $INPUT_BRANCH
|
||||
|
||||
if [ -z ${INPUT_FILE_PATTERN+x} ];
|
||||
then
|
||||
git add .
|
||||
else
|
||||
# if [ -z ${INPUT_FILE_PATTERN+x} ];
|
||||
# then
|
||||
# git add .
|
||||
# else
|
||||
# git add $INPUT_FILE_PATTERN
|
||||
# fi
|
||||
|
||||
git add $INPUT_FILE_PATTERN
|
||||
fi
|
||||
|
||||
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user