Is that make sense to enable other GitHub users to only fork my private repository and send me pull requests. I don't want them to push changes directly to my private repo.
What I am struggling here is that a user cannot see my private repo which is a good thing. Then, I add the user as collaborator to my repo and that user now has push access to that private repo which is a bad thing.
It would also work for me if there is chance to give a user only access to specific branches for my private repo.
Any thought on that?
I think you will need an "organisation" plan for your account to do that. If you have an organisation, you can define teams. Teams can different privileges for repos like read-only. You would need to set up two teams and two repos. Your base repo would have one team only being able to read it, but not write to it. The child repo would have both teams with read access to it.
I'm not aware that something like that is possible with the commercial but non-organisation account plans.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With