Skip to content

Reduce GitHub Actions emission by 90% #1463

@drydenwilliams

Description

@drydenwilliams

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions