github GitHub Changelog ·

GitHub admins can archive pull requests

governanceengineer
feature

Repository administrators can now archive pull requests to remove them from public view while keeping them accessible to admins. This feature allows for better moderation of spam or abusive requests and preserves historical context without permanent deletion. Archived pull requests are hidden from non-admin visitors and can be restored by admins.

  • Archive pull requests for repository admins
  • Bulk archiving and admin-only visibility
  • Use case for moderation and historical preservation
  • Filter for archived pull requests
Features (1)
  • Archive pull requests for repository admins

    Repository administrators can now archive pull requests, making them invisible to the public while remaining accessible to admins. This action closes and locks the pull request, and it can be restored later.

Enhancements (3)
  • Bulk archiving and admin-only visibility

    Pull requests can be archived in bulk or individually. Archived pull requests are only visible to repository administrators, and non-admin visitors accessing the URL will receive a 404 error.

  • Use case for moderation and historical preservation

    Archiving supports moderation of spam or abusive pull requests, fulfills legal or policy requirements where deletion is not ideal, and preserves historical context for administrators.

  • Filter for archived pull requests

    Archived pull requests can be found using the `is:archived` filter, which aids in triage workflows for administrators.

Read the original announcement →

https://github.blog/changelog/2026-07-16-repository-admins-can-archive-pull-requests

Related releases