-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add permission check when creating PR #31033
base: main
Are you sure you want to change the base?
Conversation
Some tests using organization user as the PR poster.....It will take lots of time to fix them. 😕 |
@Zettat123 |
My fault. It should be converted to an non-org user. |
He should be a collaborator of the base repository if he creates a PR from the same repository. |
This is not the Github's logic, Github's logic is checking base repo, not head repo (for public repos) |
See: yp05327/test#7 yp05328 is a collaborator of |
user should be a collaborator of the base repo to create a PR