Fork this repository” fails in file-creation interface while direct /fork succeeds #207004
Unanswered
sm-shaw
asked this question in
Repositories
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
Description
The Fork this repository button displayed by GitHub when attempting to create a file in a repository without direct write access fails with:
Normal repository forking remains functional. Opening the repository’s direct
/forkURL successfully creates the fork.This appears to be a problem with GitHub’s combined “create fork and continue editing” operation, rather than the repository’s permissions or the user’s ability to create a fork.
Repository
https://github.com/TPC-Council/hammerdb-results
Steps to reproduce
Sign in with a GitHub account that does not have direct write access to the repository.
Follow a link that opens GitHub’s file-creation interface for the upstream repository.
GitHub displays:
Click Fork this repository.
GitHub displays:
No fork is created and the file-creation process cannot continue.
Expected behaviour
GitHub should create a fork under the user’s account and continue to the file-creation interface in that fork.
Actual behaviour
The operation fails with an unexpected error and does not create the fork.
Workaround
Creating the fork directly succeeds:
https://github.com/TPC-Council/hammerdb-results/fork
This confirms that:
Reproduction and investigation
The problem has been reproduced:
/forkoperation continued to work correctly.The issue is being tracked in the affected repository:
TPC-Council/hammerdb-results#7
Related reports
A previous GitHub Community report describes the same unexpected error when using the GitHub web interface:
https://github.com/orgs/community/discussions/185908
That report was closed after the problem temporarily started working again. The current reproductions indicate that the problem has persisted or recurred.
The following unrelated repository discussion shows the identical You need to fork this repository to propose changes page and unexpected error:
is-a-dev/register#31745
The workaround reported there is also to use the repository’s direct
/forkURL.Summary
This is not a general failure to fork a repository. Direct forking works consistently. The failure occurs specifically when GitHub attempts to create a fork from the file-creation interface and then continue the proposed change.
All reactions