GitHub added two repository-level controls that change how projects accept contributions: a setting to disable pull requests entirely and a setting to restrict pull request creation to collaborators only. Disabling pull requests hides the pull requests tab and prevents anyone from seeing or opening PRs, which is useful for mirror repositories, read-only codebases, or projects that want to publish code without managing incoming contributions. Restricting pull requests preserves the tab and allows everyone to view and comment on PRs, but only users with write access (collaborators) can open new ones, helping teams maintain tighter control during critical development phases.
Both controls are available now for public and private repositories under SETTINGS > GENERAL > FEATURES. Collaborators are managed via the repository’s Collaborators tab. On mobile, full UI updates are coming; currently a disabled pull requests setting still shows the tab in the app but prevents creating new PRs, while other behavior is consistent across platforms. Temporary interaction limits remain an option for curbing activity from specific users on public repositories. GitHub also points to a deeper blog post and a community discussion for rationale and feedback.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.