GitHub Action Timing Out #358
Replies: 1 comment
-
Hi there, According to the workflow run logs, I looks like you're adding/commiting 32481 files (possibly even more, as the job cancelled after 5 hours). After checking out your repository on my machine and inspecting the size, I assume this is a file number of file size issue. ![]() I suspect A couple of possible solutions that come to mind: Increase the buffer size of git. git config --global http.postBuffer 524288000 # 500MB
git config --global http.maxRequestBuffer 100M Batching It's maybe easier to do this directly in the workflow run like so.
Or use multiple steps using git-auto-commit. - name: Commit Mesh Models
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: l5io
commit_user_email: [email protected]
commit_options: "--signoff"
commit_message: "New Models generated and updated"
branch: master
+ file_pattern: 'server/meshmodels'
- name: Commit the rest
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: l5io
commit_user_email: [email protected]
commit_options: "--signoff"
commit_message: "New Models generated and updated"
branch: master In general, do you have the same issues when running the code locally and trying to push to GitHub? |
Beta Was this translation helpful? Give feedback.
-
We are experiencing a timeout issue when using git-auto-commit-action@v5 in our GitHub Actions workflow. The action runs indefinitely until it exceeds the time limit. Other steps in the workflow are completed, and only this action appears to be affected.
Suspect is large number of files being committed however I'm not sure what's the expected behaviour.
Current workflow configuration:
Link to one of the failing runs: https://github.com/meshery/meshery/actions/runs/13253120994/job/36995032146
Any insights or suggestions would be greatly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions