mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2025-01-10 00:59:01 -07:00
Bug Fix
This commit is contained in:
parent
4296be5205
commit
8d707905ec
|
@ -167,7 +167,7 @@ git add .
|
||||||
echo "[+] git status:"
|
echo "[+] git status:"
|
||||||
git status
|
git status
|
||||||
|
|
||||||
if [ "$ALLOW_EMPTY_BRANCHES" = "false" ] && [ "$(git status)" = "nothing to commit, working tree clean" ]
|
if [ "$ALLOW_EMPTY_BRANCHES" = "false" ] && [ "$(git status --short | wc -l | xargs echo -n)" = "0" ]
|
||||||
then
|
then
|
||||||
echo "[~] No changes have been made"
|
echo "[~] No changes have been made"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user