-
Hello, I would like to (manually or automatically) push changes once in a while from Weblate to our However, I just tried to manually push changes from Weblate to the desired branch. But I got an error:
I'm not too familiar with git, so I don't really know what this means. Also, I noticed that Weblate created a Pull Request to the target branch, instead of just pushing: Are the two (error and fact of receiving a PR) related? (Or can Weblate never push commits directly, without creating a PR? I read the docs, but I'm still not sure.) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
If you choose VCS integration GitHub, it creates pull requests. In case you want to push directly, choose Git. |
Beta Was this translation helpful? Give feedback.
-
Hi I have the reverse issue, I am trying to get a PR from the forked repo to the main repo on pushes, but in my VCS i can only select 'Git' or 'Git with force push'. How can i add the 'Github' option? Is it a plugin? I have installed self hosted 4.9.1. EDIT: I just figured out that you need to input both a username and a PAT in settings.py on the backend to have the VCS github option enabled. I have not stumbled upon any notice for this in the documentation, and i believe adding this precision could be usefull. Thank you for your time and happy new year!! |
Beta Was this translation helpful? Give feedback.
-
@nijel I just faced the same issue and pushes fail on |
Beta Was this translation helpful? Give feedback.
If you choose VCS integration GitHub, it creates pull requests. In case you want to push directly, choose Git.