mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Fixes
This commit is contained in:
parent
40956d2dbd
commit
03de600c97
@ -30,7 +30,12 @@ then
|
||||
# Switch to branch from current Workflow run
|
||||
git checkout $INPUT_BRANCH
|
||||
|
||||
git add $INPUT_FILE_PATTERN
|
||||
if [ -z ${INPUT_FILE_PATTERN+x} ];
|
||||
then
|
||||
git add .
|
||||
else
|
||||
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