actionable-pr-view-file - Restore feature#9140
Draft
SunsetTechuila wants to merge 7 commits intomainfrom
Draft
Conversation
SunsetTechuila
commented
Mar 31, 2026
| exclude: [ | ||
| // Editing files doesn't make sense after a PR is closed/merged | ||
| pageDetect.isClosedConversation, | ||
| () => elementExists(deletedHeadRepository), |
Member
Author
There was a problem hiding this comment.
What's the point of those checks?
If head branch is deleted, the PR will be automatically closed
Member
There was a problem hiding this comment.
I don't know if it still behaves this way, but you can delete a fork even if there are open PRs from it. The PRs stay open and uneditable. The commits still exist "floating in the ether" so the native links still work.
Member
There was a problem hiding this comment.
Apparently they changed the behavior, so feel free to drop this condition refined-github/sandbox#129
SunsetTechuila
commented
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#8504
closes #8693
Test URLs
https://github.com/refined-github/sandbox/pull/4/changes?new_files_changed=true
Screenshot