Explorar el Código

only commit when new changes occur

Mohammed Nafees hace 4 años
padre
commit
78bb57b119
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: