Afaik Actions (maybe Packages, too?) was always built on Azure. I think Github core is on bare-metal
I'm guessing they probably get the elasticity of cloud while paying the wholesale or at-cost of the infrastructure (surely they get some discounts over the advertised price, at least)
Coincidence, or have they gotten around to moving some of their infrastructure to Azure since the MS acquisition?