Преглед изворни кода

only commit when new changes occur

Mohammed Nafees пре 4 година
родитељ
комит
78bb57b119
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/prerelease.yaml

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

@@ -505,7 +505,7 @@ jobs:
 
           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
   run-new-release-tests-workflows: