Sync all the PRs from the upstream repo.
- Sync all the PRs from upstream
- Support PRs from other forked repo
- Append additional files to the synced PRs
-
Install github-pr-syncer
pip install git+https://github.com/DataRecce/github-pr-syncer.git
-
Run prsync
export GITHUB_TOKEN=<GITHUB_TOKEN> prsync --repo-path /tmp/oso 'DataRecce/oso'
Because the synced PR would use the commit from the upstream repo. If we want to add additional files to synced, you can put files in the folder .githubprsync
. After pr is sycned, the sycner would add files under .githubprsync
and push a new commit.