Added condition for git push

This commit is contained in:
alistair3149 2020-01-06 15:00:53 -05:00
parent a94a390a7d
commit 34dd2c8020
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -32,6 +32,7 @@ jobs:
run: composer test
- name: Push the changes
if: git status --porcelain || exit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |