I won't enumerate those details here.
The AI provider may also have account, payment, IP and conversation records connecting the generated code to you. An unrelated GitHub account and disposable email would therefore provide only superficial pseudonymity, not meaningful anonymity.
If attribution would create a material legal risk, I would assume the project is already attributable. A civil plaintiff could potentially seek records through discovery, and law enforcement could use the appropriate legal process. Getting actual legal advice before publishing seems safer than trying to anonymize it after posting this thread.