davearonson / pull-request-roulette

Site to match up developers with people willing to comment on their pull requests
29 stars 12 forks source link

Only let a PR's owner, or the repo's owner, add it #17

Open davearonson opened 11 years ago

davearonson commented 11 years ago

As a coder, I want to decide when to ask for a review, So I don't get pestered with uninvited critiques.

Given that I didn't write some PR, And I don't own the repo it's for, When I submit it, Then it should be rejected, with a message to that effect.

Given that I didn't write some PR, And I do own the repo it's for, When I submit it, Then it should be accepted.

Given that I wrote some PR, And I do not own the repo it's for, When I submit it, Then it should be accepted.

(E.g., Alice writes a PR for Bob's repo; Alice or Bob can submit it, but Charlie can't.)