maputnik icon indicating copy to clipboard operation
maputnik copied to clipboard

Reduce GitHub Actions emission by 90%

Open drydenwilliams opened this issue 2 months ago • 2 comments

Problem: The current GitHub Actions use ubuntu-latest which runs our jobs in fossil fuel Azure regions... cough cough (350gCO2/kWh)

Solution Swap the runs-on tag to CarbonRunner's carbon-aware runner saving 90% of emissions and 25% per minute cost.

If we swapped the runs-on line in our workflows file it will find the lowest-CO2 region to run our jobs - automatically.

jobs:
  deploy: 
-   runs-on: ubuntu-latest
+   runs-on: carbonrunner-2vcpu-ubuntu-latest

drydenwilliams avatar Oct 23 '25 05:10 drydenwilliams

I'll need a lot more confidence that this won't break to trust the CI in this repo with these runners. While I completely agree with the environment aspect of this, I don't trust third party runners from being secured, up all the time, and be kept free. Sorry...

HarelM avatar Oct 23 '25 05:10 HarelM

Is there any documentation from github on this issue?

pnorman avatar Nov 03 '25 02:11 pnorman