You could upload the .patch to something other than GitHub.
Yes, exactly. Literally anything that has an upload button in the bugtracker for you attach your patch that fixes the bug.
Can't reply to the sibling, so replying here. Mozilla used to work that way (upload patch to Bugzilla), but it was so cumbersome they switched to Phabricator.