I have an existing repo on GitHub that I’d like to try using Differential to do code reviews for, but I want to keep the repo’s master branch protected, so end users can’t push directly to it without code review/green CI, and I also want to all people currently using GitHub pull requests to be able to continue using that workflow.
Is this possible with Phabricator? I was planning on doing something like:
- Give Phabricator direct access to push master
- Host a copy (clone? mirror? not sure) of the repo on Phabricator. Protect master on Phabricator’s copy too, to require code review/green CI.
- When you push to master on Phabricator’s copy of the repo, the changes also get pushed upstream to GitHub.
Is that possible?