From 34dd2c8020311106feb1e039db0a2e0ff6f7f76e Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Mon, 6 Jan 2020 15:00:53 -0500 Subject: [PATCH] Added condition for git push --- .github/workflows/composer.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/composer.yml b/.github/workflows/composer.yml index 731a181c..a57725d7 100644 --- a/.github/workflows/composer.yml +++ b/.github/workflows/composer.yml @@ -32,6 +32,7 @@ jobs: run: composer test - name: Push the changes + if: git status --porcelain || exit env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |