Do you actually have the necessary rights to upload some else's code to github?
When you upload to github, you give it special rights not merely for redistribution and CI stuff.
You give Github the rights to use the code for other github projects. That alone might not be compatible with some licenses (think GPL virality).
So if your software is BSD or anything without attribution I can probably upload it without problems.
But if your license requires so much as attribution, can I give Github the rights to use the code for any other internal project they might have?
Remember that in Github TOS you give grants for any github service, and in some special cases it requires this to be without attribution.
IANAL but I think I lack the necessary rights here, regardless of copilot.