Przeglądaj źródła

Update python-app.yml

Karl0ss 1 rok temu
rodzic
commit
3f902b1382
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      .github/workflows/python-app.yml

+ 4 - 2
.github/workflows/python-app.yml

@@ -37,5 +37,7 @@ jobs:
       run: |
         git config --global user.name 'Karl Hudgell'
         git config --global user.email 'karl@me.com'
-        git commit -am "Updated ical"
-        git push
+        if ! git diff-index --quiet HEAD; then
+          git commit -am "Updated ical"
+          git push
+        fi