Error: There was an error initializing the repository: The process '/usr/bin/git' failed with exit code 129 ❌
StormWangxhu opened this issue · 10 comments
Describe the bug
Error: There was an error initializing the repository: The process '/usr/bin/git' failed with exit code 129 ❌
Reproduction Steps
https://github.com/StormWangxhu/shenshenmuzi/actions/runs/3155384147/jobs/5133982090
Workflow
Additional Comments
please help me,thanks !
I just found 'failed with exit code 128'.
You should avoid posting personal information.
You should avoid posting personal information.
Thanks, I will resubmit the problem description
You should avoid posting personal information.
How should I go about solving this problem: 'The process '/usr/bin/git' failed with exit code 129',thanks!
I also have the same issue 'The process '/usr/bin/git' failed with exit code 129'
Please provide your deployment logs, this is a generic error, and usually, the real reason is listed right before this.
Thank you for replying! Happily, I discovered the solution in an answer you gave to another issue. That's also when I realized about "generic errors" and deleted my comment as mine was unrelated to this issue. I'm still learning. Thanks again!
Having the same problem, was using self hosted runners.
By default on new repos the workflows only have read access
You need to explicitly grant write access to the workflow so that it can push to the repo
Add this to your workflow and it should solve the problem:
permissions:
contents: write
Closing as a duplicate.