ソースを参照

Update python-app.yml

Karl0ss 1 年間 前
コミット
3f902b1382
1 ファイル変更4 行追加2 行削除
  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