Close a pull request within an archived repository. #181234
Replies: 3 comments
-
|
Hey! @cstockton Sadly, there’s no secret “close PR anyway” button hiding in the GitHub UI The only way to close your long-lost PR is:
If you’re not an owner, you’ll have to poke one of the maintainers and ask them to resurrect the repo for 30 seconds. Otherwise… yes… your PR will sit there forever, silently judging you, haha. |
Beta Was this translation helpful? Give feedback.
-
|
You cannot directly close a pull request in an archived repository because archiving makes the repository read-only for everyone, including the owners. To close PR #181234, you must be an administrator of the repository and follow these steps to temporarily restore write access: Step 1: Unarchive the Repository |
Beta Was this translation helpful? Give feedback.
-
|
You can’t close a pull request in an archived repository — GitHub locks everything in read-only mode once a repo is archived. That means:
The only way to close your PR is for someone with admin access to temporarily unarchive the repo. ✅ If you (or a maintainer) have admin permissions:
❌ If you’re not an admin:You won’t be able to close it yourself — you’ll need to ask a repo owner or maintainer to unarchive it briefly and close the PR. Once archived again, the repo returns to read-only mode and your PR will be cleanly closed. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
When viewing my pr's pkg/errors#198 often shows up as the oldest PR and I would like to close it out. I can't seem to find a way to close my PR now that the repo has been archived. I think that may sort of be the point, but knowing I'll have a PR open forever feels bad 😆 🤣
This is a very minor thing! But if there is a way via CLI or other mechanism to close this out I would love to.
Beta Was this translation helpful? Give feedback.
All reactions