Repository admins can now archive pull requests to remove them from public view without permanently deleting them.

When a pull request is archived, it is closed and locked. Pull requests can be archived in bulk or on an individual basis. Archived pull requests are only visible to repository admins, and non-admin visitors to the URL receive a 404 response. If you unarchive a pull request, it becomes visible again and remains closed and locked.

This gives you a moderation-focused option for handling spammy or abusive pull requests, supporting legal or policy requirements where deletion is not preferred, and preserving historical context for administrators.

You can also find archived pull requests using the is:archived filter to support triage workflows.

We’d love to hear your feedback. Drop any questions or comments within our Community discussion.