-
You may add a CI/CD job (either in this repository, or in other repositories) to do the job with the pull repository step. Then you can run the job when necessary to sync the fork.
-
Seems to work, thanks. Not that easy though as "just a button" ;)
-
Previous Value Current Value Open
Closed
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
I have a fork in my private space of a big, multiuser repo. Usually I make my changes in a branch of my fork and submit it as a pull request. Pull request then gets merged (rebase commit). Now my fork master is out of date. To sync it, I fetch the main repo master, rebase my private master and push it to my private repo on the server. For me that is a lot of manual work which should be automated.
This is the normal workflow for pull request: the master of my private repo is always in sync with the main repo master.
Gitea has a button "Sync fork" which does the rebasing on the server and then I can pull my master and I'm in sync. Does onedev have such a button too? Would you be willing to add it?