File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -371,8 +371,14 @@ jobs:
371371 git config user.email [email protected] 372372 git remote add upstream https://${{ secrets.PAT }}@github.com/hydephp/ui-kit.git
373373
374- git add .
375- git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
374+ if ! git diff-index --quiet HEAD --; then
376375
377- git push upstream master
376+ git add .
377+ git diff --exit-code || git commit -m "$COMMIT_MESSAGE https://github.com/hydephp/develop/commit/${{ github.sha }}"
378+
379+ git push upstream master
380+ else
381+ echo "No changes to this package. Exiting gracefully."
382+ exit 0;
383+ fi
378384
You can’t perform that action at this time.
0 commit comments