I have connected my project chat with git, and new repo was created and inside it a readme file.
In the chat I can see the Preview (it loads as much as I want) , but when I press Deploy button, I have the option to Push and Deploy like below:
Did you know about these other v0 resources? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.
This guide is a great place to start.
And these recordings can give you a look at v0 features and strategies in action: Topics tagged v0
Looking closer when I press Push Changes, the browser is doing a post to https://v0.dev/chat/api/git/push with payload {"blockId":"b_I1lN7ONn3tX"} and the response is {"error":"38","errorMsg":"Failed to commit and push files."}
Hope it helps to have a closer look at things.
Thank you.
Thanks for sharing all of that. I found some additional info in the logs about the 38 error you saw, checked with the team about the solution, and here’s what they recommend:
You need to grant the workflows permission to your GitHub App.
Go to the settings page of your GitHub App.
Under “Permissions & events”, click on “Configure permissions”.
In the “Repository permissions” section, check the “Read & write” permission for the “Workflows” option.
Click on “Save changes”.
Please give that a try and let me know whether or not it works for you
I am facing a similar issue, but there’s no app owned by me in my personal account, I presume Vercel Bot does the commit and push for me, and it has the read write access to my repo. not sure what is causing the error 38 issue in my case.
v0 Project Id - eDRY656Nozd
v0 Latest Fork of the chat - 29th-april-4cfBh4Sp8kj
Thank you reply.
Unfortunately the only way I was able to commit the code was remove the github action.
There is no place to for me to change the permissions as you gave me those steps.
Ah, I didn’t realize you were using GitHub Actions.
Glad you found a solution for now, but please let me know if you ever want to try again with GitHub Actions. Curious issue I haven’t been able to repro with my test project. I would be happy to dig into this more with you