Dax Raad 3 tuần trước cách đây
mục cha
commit
b28891473f
1 tập tin đã thay đổi với 1 bổ sung5 xóa
  1. 1 5
      .github/workflows/generate.yml

+ 1 - 5
.github/workflows/generate.yml

@@ -35,12 +35,8 @@ jobs:
 
 
       - name: Commit and push
       - name: Commit and push
         run: |
         run: |
-          if [ -z "$(git status --porcelain)" ]; then
-            echo "No changes to commit"
-            exit 0
-          fi
           git add -A
           git add -A
-          git commit -m "chore: generate"
+          git commit -m "chore: generate" --allow-empty
           git push origin HEAD:${{ github.ref_name }} --no-verify
           git push origin HEAD:${{ github.ref_name }} --no-verify
           # if ! git push origin HEAD:${{ github.event.pull_request.head.ref || github.ref_name }} --no-verify; then
           # if ! git push origin HEAD:${{ github.event.pull_request.head.ref || github.ref_name }} --no-verify; then
           #   echo ""
           #   echo ""