Please avoid building in the same job as publishing. Especially with the elevated OIDC privileges. The transitive build deps shouldn't have such level of access.
#4589 links to proper examples.
Originally posted by webknjaz in #4611 (comment)
Making an issue so this doesn't get lost.