cyrilbaah/CarbonCue
Check carbon intensity and gate CI/CD workflows for sustainable software development
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 2, 2026
- License
- MIT
Pinned Snippet
uses: cyrilbaah/carboncue@341a0bab7ac7169949e6220ac1b731631dc5f296 # v1.1.0-alltags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| region | Cloud region (e.g., us-west-2, eu-west-1) | yes | us-west-2 |
| cloud-provider | Cloud provider: aws, azure, gcp, digitalocean, other | yes | aws |
| threshold | Carbon intensity threshold in gCO2eq/kWh. Workflow fails if exceeded. | no | 300 |
| fail-on-threshold | Whether to fail the workflow if threshold is exceeded (true/false) | no | false |
| electricity-maps-api-key | Electricity Maps API key (optional, uses CARBONCUE_ELECTRICITY_MAPS_API_KEY env var if not provided) | no | "" |
Outputs
| name | description |
|---|---|
| carbon-intensity | Current carbon intensity in gCO2eq/kWh |
| status | Status: low, medium, high, or very-high |
| recommendation | Recommendation based on carbon intensity |