hackclub / high-seas

🏴‍☠️ It's better to be a pirate than join the navy!
https://highseas.hackclub.com
39 stars 10 forks source link

Assuming wrong README branch - GitHub autofilling #714

Open transcental opened 3 days ago

transcental commented 3 days ago

When drafting a ship, the README link gets autofilled for GitHub repos, but it assumes that the default branch is main. If it's master or something else, it results in a 404 and the only way to fix it is to edit the ship after drafting it.

If the suggested README 404s, don't pre-fill the README URL.