Răsfoiți Sursa

Update python-app.yml

Karl0ss 1 an în urmă
părinte
comite
3f902b1382
1 a modificat fișierele cu 4 adăugiri și 2 ștergeri
  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