Documentation on how to sync Github repo and opencode repo?


Hi there,

I’m using Github for hosting my app, but I would like to switch to something less Microsoft. Like opencode :slight_smile:

Anyhow, for the time of transition I want the mirror my Github repo with an opencode repo. Importing it was not a problem, but syncing it just doesn’t seem to work.

Following the description text in the repo settings on opencode leads to

Username and password are correct. But I must add, that I use 2FA on Github, but I can’t find to add a personal token on opencode to circumvent it.

Could you give me some advice on how to fix this or where to look specifically to solve this?

Thanks a lot!


I solved it by using a Github Action, that pushes changes to my repo as described here: