hn.today

New repository settings for configuring pull request access

github.blog3 points0 comments
Screenshot of New repository settings for configuring pull request access

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.

Read on github.blog0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

Beauty in DVD Menus

Beauty in DVD Menus

DVD menus evolved from simple entry points to intricate designs that showcased the format's capabilities in the early 2000s. They often reflected the transition from 4:3 to 16:9 aspect ratios, influencing their layout and design choices. (vale.rocks)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.