-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Disallow merging if PR has been rejected #4785
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
Comments
Was not there issue already about this? |
Not that I was able to find. |
@FryDay I think a PR is rejected by someone could still be merged on Github. |
Only someone with admin privileges, and you need to click through warnings to do it. |
@FryDay yes, we could follow that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
AFAIK the reject information stored inside of a review, that is connected to a comment. In order to disable a pull request, all comments of an issue have to be process, checking if the rejection is still valid. One possible solution could be changing the relation between comment and review to issue and review.
|
Based on the solution described in the previous comment, there is a way with less refactoring. The issue is extended with the review, the review remain inside the comment. Did not know how often the indexer is running and how long it will take to process the data. |
I will have a look inside this issue. Other issues going in the same direction: |
duplicated with #3588 |
If you request changes on a PR, you are still able to merge it. Github disallows merging if a PR is rejected.
The text was updated successfully, but these errors were encountered: