Prechádzať zdrojové kódy

only commit when new changes occur

Mohammed Nafees 4 rokov pred
rodič
commit
78bb57b119
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      .github/workflows/prerelease.yaml

+ 1 - 1
.github/workflows/prerelease.yaml

@@ -505,7 +505,7 @@ jobs:
 
 
           git add .
           git add .
 
 
-          git commit -m "Update to Porter GHA version ${{steps.tag_name.outputs.tag}}"
+          git diff --quiet --exit-code || git commit -m "Update to Porter GHA version ${{steps.tag_name.outputs.tag}}"
 
 
           git push -f
           git push -f
   run-new-release-tests-workflows:
   run-new-release-tests-workflows: