I am working for an project which has to do with GitHub API, I would like to make such a platform that users that are working on a repo specifically in one Branch in git and once they done with the issue they will do PULL REQUEST from Git, in other side I have a separate interface where I can see all Pull Requests sent by users on Git using the Git API.
I have made a separate interface in order when I accept the Pull Request I also want for example to trigger something else within that action, let say a payment.
I heard in these case they prefer to use Fork not Branches, What would you say is the best way for me to realize such things?
I have started this normally merging Branches so by using Branches, but the thing is that Git it allows everyone to merge branches, so that would break me the rules eventhou the trigger/payment wont trigger by merging branches from Git, only from the interface I have made, but still I wont wanna let the other users do merging branches.
Thank you