A GitHub App built with Probot that keeps parent and child monorepos in sync
NOTE: The Github API has a limit of returning 100,000 tree items (i.e. files or folders), so this cannot support monorepos that exceed that amount of files and folders
.env.example for the environment variables supported for configuring the bot
These commands can be triggered by posting a comment on the PR you wish to run the command on.
Since the syncing of rebases and merges isn't yet perfect, there are still times in which a secondary PR can get into a broken state (most commonly, the diff will have a lot more files changed than it should).
In this case, post
!resync on either of the PRs, and it will re-copy the commits from the primary PR to the secondary PR and force push. This is basically the equivalent to closing both PRs and remaking a new one