Skip to content

Commit

Permalink
Making variable INPUT_PUSH_OPTIONS not required
Browse files Browse the repository at this point in the history
  • Loading branch information
hpedrorodrigues committed Jun 22, 2021
1 parent c97500d commit 8002e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if _git_changed; then
git push origin -f
else
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>" ${INPUT_COMMIT_OPTIONS:+"$INPUT_COMMIT_OPTIONS"} || echo "No files added to commit"
git push origin $INPUT_PUSH_OPTIONS
git push origin ${INPUT_PUSH_OPTIONS:-}
fi
echo "Changes pushed successfully."
fi
Expand Down

0 comments on commit 8002e35

Please sign in to comment.