From 0e0eb7ff9e1ec7bff9207815bb7cb1c6a64f052a Mon Sep 17 00:00:00 2001 From: CS50X-RGB Date: Thu, 29 Feb 2024 22:10:31 +0530 Subject: [PATCH] Workflow changed --- .github/workflows/pull.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull.yaml b/.github/workflows/pull.yaml index 9af0fbb..d183ee9 100644 --- a/.github/workflows/pull.yaml +++ b/.github/workflows/pull.yaml @@ -24,12 +24,13 @@ jobs: CI=false npm run build working-directory: ./ - - name: Commit-changes + - name: Commit changes run: | git config --global user.name 'CS50X-RGB' git config --global user.email 'rohanchatterjee866@gmail.com' git add . - git commit -m "Build new version for the production" + git diff-index --quiet HEAD || git commit -m "Build new version for the production" + - name: Push Changes uses: ad-m/github-push-action@master