-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoctor.yml
More file actions
32 lines (29 loc) · 1.01 KB
/
Copy pathdoctor.yml
File metadata and controls
32 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Carbon-Aware Dispatcher — Doctor
#
# A one-click diagnostic. Run it from the Actions tab to see, for your zones,
# which provider handles each, whether a token is set or missing, and whether
# live carbon data is actually flowing — plus which optional features are on.
# Great for first-time setup and debugging "why is there no data?".
#
# Copy to .github/workflows/carbon-doctor.yml
name: Carbon Doctor
on:
workflow_dispatch:
inputs:
zones:
description: "Zones to probe (comma-separated). Leave blank for a keyless sample."
required: false
type: string
default: ""
jobs:
doctor:
runs-on: ubuntu-latest
steps:
- uses: peterklingelhofer/carbon-aware-dispatcher@v1
with:
mode: 'doctor'
grid_zones: ${{ inputs.zones }}
# Pass any tokens you want to verify:
entsoe_token: ${{ secrets.ENTSOE_TOKEN }}
eia_api_key: ${{ secrets.EIA_API_KEY }}
electricity_maps_token: ${{ secrets.ELECTRICITY_MAPS_TOKEN }}