You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Disable pull requests while keeping issues for a repository #1191
Also allow disabling only pull requests but not issues for projects that prefer other review mechanisms like Gerrit, but still want the GH issue tracker.
Hi Ciro,Thanks for writing in! We've definitely heard some users requesting this feature over the last couple of years, and it's currently on our feature request list. I can't make any promises about if or when we may add this ability in the future, but I'll add your +1 to that feature request so the team can see it.Please let us know if there's anything else we can do for you in the meantime!All the best,Nick@nickcannariatoGitHub
Reacted by Sorin Sbarnea, jluk-codi, cocoatomo, H@di, Aleksey Midenkov, Дмитрий Океаний, TPS, Glen, Katsuhiko Nishimra, Yann B. and 209 more
Reacted by Boris, Greg Sadetsky, Andy Bonventre and Bernard
This is pretty much the standard meaningless reply from GitHub which I've seen with every feature request I've proposed - the request vanishes into their black box system and we have no clue when or even if it will ever be implemented.
For now it seems that a workaround is required. Here are a few options:
Of course you could combine the template approach with the auto-closer approach.
Reacted by Ciro Santilli (三西猴) OurBigBook.com sponsor me: cirosantilli.com/sponsor, opinions my own 2020冠状病毒审查 ,2020郝海东 ,2018新疆改造中心,1989六四事件,1999法轮功 ,2019 996.ICU, 2018包子露宪,2015 709大抓捕,2015巴拿马文件 邓家贵,2017低端人口,2008西藏骚乱<script>alert(1)</script>, Rob Garrison, Gael Guennebaud, PySimpleGUI, Yuriy Artamonov, Roy Ivy III, Mitch Lindgren, Prashant Sinha, nha, Sascha Wirges and 2 more
I've made a new app that immediately closes and locks new and existing issues or pull requests and also supports posting a comment and labeling. It is perfect for forks and mirrors, and you can configure it to your liking. Let me know how it works for you!
One problem I see with this, is that it would prevent people to see/use patches other people made available through pull requests.
It happened to me in the past: a given bug fix or feature wasn't in master because the project was abandoned, but was available in a PR by someone that took the time to fix it. In these cases it's useful to have this code available so you can use in your own fork or patch locally.
I think it'd be better to just lock the ability of external contributors to open new pull requests, without making the existing ones unavailable, nor preventing official contributors to open new ones..
One problem I see with this, is that it would prevent people to see/use patches other people made available through pull requests.
It happened to me in the past: a given bug fix or feature wasn't in master because the project was abandoned, but was available in a PR by someone that took the time to fix it. In these cases it's useful to have this code available so you can use in your own fork or patch locally.
I think it'd be better to just lock the ability of external contributors to open new pull requests, without making the existing ones unavailable, nor preventing official contributors to open new ones..
I think that case is still handled if issues are open, and the person posts a link to their fork that fixes the issue.
@nihaals That's from "Interaction limits" in settings. But this also prevents users from making issues or even comments on issues. (Which could work for read-only mirrors on GitHub, but that's not the use case for this issue.)
I can see the interaction limits on one of my repos. I would love to have some more granular control with interaction limits, for example in my case I want to restrict pull requests but leave issues open.
Activity
aspiers commentedon Mar 22, 2018
This is pretty much the standard meaningless reply from GitHub which I've seen with every feature request I've proposed - the request vanishes into their black box system and we have no clue when or even if it will ever be implemented.
For now it seems that a workaround is required. Here are a few options:
cron.Of course you could combine the template approach with the auto-closer approach.
Create issue template to redirect people to isaacs repo
dessant commentedon Jan 23, 2019
I've made a new app that immediately closes and locks new and existing issues or pull requests and also supports posting a comment and labeling. It is perfect for forks and mirrors, and you can configure it to your liking. Let me know how it works for you!
https://github.com/dessant/repo-lockdown
add 'lockdown' via 'repo-lockdown' Probot
add 'lockdown' via 'repo-lockdown' Probot
phoe commentedon Jan 28, 2021
See the recent discussion on Hacker News that mentions this issue: https://news.ycombinator.com/item?id=25940195
andreynering commentedon Jan 28, 2021
One problem I see with this, is that it would prevent people to see/use patches other people made available through pull requests.
It happened to me in the past: a given bug fix or feature wasn't in master because the project was abandoned, but was available in a PR by someone that took the time to fix it. In these cases it's useful to have this code available so you can use in your own fork or patch locally.
I think it'd be better to just lock the ability of external contributors to open new pull requests, without making the existing ones unavailable, nor preventing official contributors to open new ones..
andrewkfiedler commentedon Jan 28, 2021
I think that case is still handled if issues are open, and the person posts a link to their fork that fixes the issue.
untitaker commentedon Jan 28, 2021
nihaals commentedon Apr 3, 2021
Their roadmap repo does actually seem to have PRs restricted to collaborators.
I went to a random fork and tried to create a PR and got this:
Maybe they plan on opening this toggle to everyone in the future?
They also have this enabled for creating issues (without disabling them):
crawfxrd commentedon Apr 8, 2021
@nihaals That's from "Interaction limits" in settings. But this also prevents users from making issues or even comments on issues. (Which could work for read-only mirrors on GitHub, but that's not the use case for this issue.)
lastmjs commentedon Jul 6, 2021
I can see the interaction limits on one of my repos. I would love to have some more granular control with interaction limits, for example in my case I want to restrict pull requests but leave issues open.