In this section
- GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v5 Page render · globalgrid2050 / repd_grid_atlasv5/index.html lines 1–249
- Fetch Elizabeth Line v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_elizabeth_linev6.yml lines 1–47
- Fetch Eurostar v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_eurostarv6.yml lines 1–47
- Fetch Global Ports v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_global_portsv6.yml lines 1–50
- Fetch Motorway Services v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_motorway_servicesv6.yml lines 1–49
- Fetch Stadiums v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_stadiumsv6.yml lines 1–47
- Generate Deep Subsea v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/generate_deep_subseav6.yml lines 1–20
- Generate Global Hydrocarbons v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/generate_global_hydrocarbonsv6.yml lines 1–37
- Generate Repo Structure v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/generate_repo_structurev6.yml lines 1–37
- Jekyll Gh Pages v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/jekyll-gh-pagesv6.yml lines 1–51
- Renewable Energy Planning Database (REPD) Sync v6 automation · globalgrid2050 / repd_grid_atlasv6/.github/workflows/repd_syncv6.yml lines 1–36
GlobalGrid2050 — Renewable Energy Planning Database (REPD) Grid Atlas v5 Page
A web page that draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Published at https://globalgrid2050.com/repd_grid_atlasv5/.
renderglobalgrid2050 / repd_grid_atlasv5/index.html · lines 1–249 of 249 · Entry point
- What it does
- It draws grid 400kV, grid 275kV, grid 220kV and grid 132kV. Side effects: changes the web page (DOM).
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV.
- Inputs & outputs
- In: GeoJSON file grid_400kv.geojson; GeoJSON file grid_275kv.geojson; GeoJSON file grid_220kv.geojson; GeoJSON file grid_132kv.geojson; GeoJSON file grid_66kv.geojson; GeoJSON file grid_11kv_ukpn.geojson; GeoJSON file grid_substations.geojson; GeoJSON file power_plants.geojson. Out: web page. Voltage levels named: 400kV, 275kV, 220kV, 132kV, 66kV, 11kV.
- Downstream impact
- Used directly by 8 files: GlobalGrid2050 Historical Builds (globalgrid2050, https://globalgrid2050.com/historical_builds.html); Homepage V030 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v030.html); Homepage V031 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v031.html); Homepage V032 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v032.html); and 4 more. Reached from 87 other entry points, including GlobalGrid2050 Homepage Before Four Nests (globalgrid2050, https://globalgrid2050.com/homepage-before-four-nests-20260925.html); Homepage V037 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v037.html); Homepage V038 (globalgrid2050, https://globalgrid2050.com/homepage_versions/homepage_v038.html). It is itself an entry point, published at https://globalgrid2050.com/repd_grid_atlasv5/.
- What it achieves
- Its code works with 100 kW, 11 kV and 132 kV.
- Why it matters
- Loaded by the GlobalGrid2050 Historical Builds map page at https://globalgrid2050.com/historical_builds.html and 7 other pages.
- Application
- globalgrid2050 · repd_grid_atlasv5 · page
- Uses
- Ventus v6 (stylesheet), Ventus Core (script src), https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.css, https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.js
- Used by
- named by URL in GlobalGrid2050 Historical Builds (estate URL), named by URL in Homepage V030 (estate URL), named by URL in Homepage V031 (estate URL), named by URL in Homepage V032 (estate URL), named by URL in Homepage V033 (estate URL), named by URL in Homepage V034 (estate URL), named by URL in Homepage V035 (estate URL), named by URL in Homepage V036 (estate URL)
- Produces
- none declared
- Defines here
- none
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv5/index.html:1-249 · blob f4f54bec4b549c8cb1458fca5444c139ae097f4f · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>GlobalGrid2050 | UK Region v5</title>
<link href="https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.css" rel="stylesheet" />
<link href="../ventus.css" rel="stylesheet" />
</head>
<body>
<div id="fatal-banner">CRITICAL ERROR: SYSTEM DEPENDENCIES FAILED TO LOAD</div>
<button id="btn-fullscreen-exit" onclick="exitFullscreen()">✕ Exit</button>
<div id="fs-curtain-tab">⬇ Layers</div>
<div id="fs-curtain"><div id="fs-curtain-keys"></div></div>
<div id="fs-letterhead">
<div class="ventus-main">Ventus</div>
<div class="ventus-sub">Cables & Connectivity®</div>
</div>
<div class="dashboard">
<div class="hud-header">
<div>
<small style="color:#888">SYSTEM TIME</small><br>
<span class="hud-val" id="clock">--:--:--</span><br>
<span id="date" style="font-size: 11px; color: #888;">--/--/----</span>
</div>
<div class="ventus-brand">
<div class="ventus-main">Ventus</div>
<div class="ventus-sub">Cables & Connectivity®</div>
</div>
<div style="text-align:right"><small style="color:#888">2050 TARGET</small><br><span class="hud-val" id="days" style="color:#ff9d00">-- DAYS</span></div>
</div>
<div class="map-container" id="map-container">
<div id="map"></div>
<div class="custom-map-attrib">
Data © <a href="https://www.openstreetmap.org/copyright" target="_blank" rel="noopener noreferrer">OpenStreetMap contributors</a> | © CARTO | EV data © <a href="https://openchargemap.org" target="_blank" rel="noopener noreferrer">Open Charge Map</a>
</div>
<button id="btn-fullscreen" onclick="enterFullscreen()" title="Fullscreen">⛶</button>
<div class="search-bar-wrapper">
<div style="position:relative">
<input class="search-input" id="search-input" type="text" placeholder="Search project name..." autocomplete="off" />
<div class="search-results" id="search-results"></div>
</div>
<button class="search-btn" id="search-btn">GO</button>
</div>
<div class="map-controls">
<button class="map-ctrl-btn" id="btn-export">⬇ Export CSV</button>
<button class="map-ctrl-btn" id="btn-radius">◎ Radius Search</button>
<button class="map-ctrl-btn" id="btn-radius-area">◵ Radius Area</button>
<button class="map-ctrl-btn" id="btn-polyzone">⬡ Poly Zone</button>
<button class="map-ctrl-btn" id="btn-status">◑ Status Colours</button>
<button class="map-ctrl-btn" id="btn-measure">📏 Measure</button>
</div>
<div class="radius-popup" id="radius-popup">
<label>Radius from click</label>
<div class="radius-input-row">
<input type="number" id="radius-input" value="10" min="1" max="160" step="1" />
<span class="radius-unit">km</span>
</div>
<div class="radius-hint">1 – 160 km (100 mi) · press Enter to apply</div>
</div>
<div class="radius-popup" id="radius-area-popup">
<label>Measure Area from click</label>
<div class="radius-input-row">
<input type="number" id="radius-area-input" value="1" min="0.001" max="160" step="0.001" />
<span class="radius-unit">km</span>
</div>
<div class="radius-hint">Input radius: 0.001 (1m) to 160 km</div>
</div>
<div class="radius-popup" id="polyzone-panel">
<label class="polyzone-label">Poly Zone Initial Radius</label>
<div class="radius-input-row">
<input type="number" id="polyzone-radius-input" value="1" min="0.1" max="160" step="0.1" />
<span class="radius-unit">km</span>
</div>
<div class="radius-hint">0.1 – 160 km · Click map to drop circle</div>
</div>
<div id="measure-display">
<div class="m-row" id="m-line" style="display:none">━━ <span id="m-km"></span> km | <span id="m-m"></span> m | <span id="m-mi"></span> mi</div>
<div class="m-row" id="m-perim" style="display:none">Perimeter: <span id="m-pkm"></span> km | <span id="m-pm"></span> m</div>
<div class="m-row" id="m-area" style="display:none">Area: <span id="m-km2"></span> km² | <span id="m-ha"></span> ha | <span id="m-ac"></span> ac</div>
<div class="m-hint" id="m-hint">Click to add points · Double-click to close polygon</div>
<button id="btn-measure-undo" title="Undo last point">↩ Undo Point</button>
</div>
<div id="polyzone-display">
<div class="m-row" id="pz-area" style="display:none">
<span id="pz-km2"></span> km² · <span id="pz-ha"></span> ha<br>
<span id="pz-ac"></span> ac · <span id="pz-mi2"></span> mi²<br>
<span id="pz-m2"></span> m²<br>
<span style="color:#ffae00">⚽ <span id="pz-pitch"></span> pitches</span>
</div>
<div class="m-row" id="pz-perim" style="display:none">
<span style="color:#555;font-size:9px">perimeter <span id="pz-pkm"></span> km</span>
</div>
<div class="m-hint" id="pz-hint">Click map to drop circle</div>
<button id="btn-polyzone-undo" title="Undo last vertex">↩ Undo Vertex</button>
</div>
<div class="podcast-shoutout">In support of The Future of Solar Photovoltaics podcast<br>& all participants to date</div>
</div>
<div class="scada-wrapper">
<div class="scada-brand">
<div>
<div class="scada-brand-main">Ventus</div>
<div class="scada-brand-sub">Cables & Connectivity®</div>
</div>
<div class="scada-brand-tag">globalgrid2050.com | open infrastructure intelligence</div>
</div>
<div class="status-legend">
<div class="status-dot"><span style="background:#00ff88"></span>Operational</div>
<div class="status-dot"><span style="background:#ffcc00"></span>Under Construction</div>
<div class="status-dot"><span style="background:#ff8800"></span>Consented</div>
<div class="status-dot"><span style="background:#8888ff"></span>Applied</div>
</div>
<div class="scada-keys" id="scada-ui-container"></div>
<div class="disclaimer-box">
This interface is based on publicly available and open source infrastructure data, including public energy datasets such as REPD where applicable. It is presented for analytical and visualisation purposes only and does not include live operational or other non public operational data.
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/maplibre-gl@3.6.2/dist/maplibre-gl.js"></script>
<script src="../ventus-core.js"></script>
<script>
const ukConfig = [
{
group: "Topology (GeoJSON)",
layers: [
{ id: "400", label: "400kV", color: "#0054ff", type: "line", width: 2.5, url: "/grid_400kv.geojson", snap: true, preload: true },
{ id: "275", label: "275kV", color: "#ff0000", type: "line", width: 2.0, url: "/grid_275kv.geojson", snap: true, preload: true },
{ id: "220", label: "220kV", color: "#ff9900", type: "line", width: 1.8, url: "/grid_220kv.geojson", snap: true, preload: true },
{ id: "132", label: "132kV", color: "#00cc00", type: "line", width: 1.5, url: "/grid_132kv.geojson", snap: true, preload: true },
{ id: "66", label: "66kV", color: "#b200ff", type: "line", width: 1.2, url: "/grid_66kv.geojson", snap: true, preload: true },
{ id: "11kv", label: "11kV (UKPN)", color: "#ff00ff", type: "point", radius: ['interpolate', ['linear'], ['zoom'], 13.5, 4, 15, 8, 18, 18], url: "/grid_11kv_ukpn.geojson", minzoom: 13.5, preload: false },
{ id: "subs", label: "Subs", color: "#ffffff", type: "point", radius: ['interpolate', ['linear'], ['zoom'], 5, 3, 10, 5, 14, 10, 18, 22], url: "/grid_substations.geojson", isSubs: true, preload: true }
]
},
{
group: "Assets (GeoJSON)",
layers: [
{ id: "nuc", label: "Nuclear", color: "#39ff14", type: "point", radius: 4.5, url: "/power_plants.geojson", filter: ['==', ['get', 'source'], 'nuclear'], preload: true },
{ id: "gas", label: "Gas", color: "#ff4500", type: "point", radius: 4.5, url: "/power_plants.geojson", filter: ['!=', ['get', 'source'], 'nuclear'], preload: true },
{ id: "ind", label: "Industry", color: "#ff6600", type: "point", radius: 4.5, url: "/industrial_offtakers.geojson", preload: true },
{ id: "dc", label: "Data Ctrs", color: "#00ffff", type: "point", radius: 4.5, url: "/datacentres.geojson", preload: true },
{ id: "air", label: "Airports", color: "#ff00ff", type: "point", radius: 4.5, url: "/airports.geojson", preload: true },
{ id: "rail", label: "Railways", color: "#ffd700", type: "point", radius: 4.5, url: "/railways.geojson", preload: true }
]
},
{
group: "Supermarkets (GeoJSON)",
layers: [
{ id: "tesco", label: "Tesco", color: "#ee1c2e", type: "point", radius: 4.5, url: "/supermarkets_tesco.geojson", preload: false },
{ id: "sainsburys", label: "Sainsbury's", color: "#ff8200", type: "point", radius: 4.5, url: "/supermarkets_sainsburys.geojson", preload: false },
{ id: "asda", label: "Asda", color: "#78be20", type: "point", radius: 4.5, url: "/supermarkets_asda.geojson", preload: false },
{ id: "morrisons", label: "Morrisons", color: "#ffd700", type: "point", radius: 4.5, url: "/supermarkets_morrisons.geojson", preload: false },
{ id: "aldi", label: "Aldi", color: "#003087", type: "point", radius: 4.5, url: "/supermarkets_aldi.geojson", preload: false },
{ id: "lidl", label: "Lidl", color: "#0050aa", type: "point", radius: 4.5, url: "/supermarkets_lidl.geojson", preload: false },
{ id: "waitrose", label: "Waitrose", color: "#7ab800", type: "point", radius: 4.5, url: "/supermarkets_waitrose.geojson", preload: false },
{ id: "ms", label: "M&S Food", color: "#009b77", type: "point", radius: 4.5, url: "/supermarkets_ms.geojson", preload: false },
{ id: "coop", label: "Co-op", color: "#00b1a9", type: "point", radius: 4.5, url: "/supermarkets_coop.geojson", preload: false },
{ id: "costco", label: "Costco", color: "#005daa", type: "point", radius: 4.5, url: "/supermarkets_costco.geojson", preload: false },
{ id: "booths", label: "Booths", color: "#6d2077", type: "point", radius: 4.5, url: "/supermarkets_booths.geojson", preload: false }
]
},
{
group: "Transit (GeoJSON)",
layers: [
{ id: "elizabeth", label: "Elizabeth Line", color: "#60399E", type: "point", radius: 5, url: "/elizabeth_line.geojson", preload: false },
{ id: "lu", label: "London Underground", color: "#e32017", type: "point", radius: 5, url: "/london_underground.geojson", preload: false },
{ id: "dlr", label: "DLR", color: "#00afad", type: "point", radius: 5, url: "/uk_metros_trams.geojson", preload: false,
filter: ['all', ['in', 'Docklands', ['get', 'operator']], ['!', ['in', 'London Underground', ['get', 'operator']]]] },
{ id: "metro", label: "UK Metro", color: "#f3a712", type: "point", radius: 5, url: "/uk_metros_trams.geojson", preload: false,
filter: ['any', ['in', 'Tyne', ['get', 'operator']], ['in', 'Metrolink', ['get', 'operator']], ['in', 'Supertram', ['get', 'operator']], ['in', 'Nottingham', ['get', 'operator']], ['in', 'Edinburgh', ['get', 'operator']], ['in', 'Midland Metro', ['get', 'operator']]] },
{ id: "tram", label: "Trams & Light Rail", color: "#84329b", type: "point", radius: 5, url: "/uk_metros_trams.geojson", preload: false,
filter: ['all', ['==', ['get', 'type'], 'Tram / Light Rail'], ['!', ['in', 'London Underground', ['get', 'operator']]]] },
{ id: "hs2", label: "HS2", color: "#2c6fad", type: "point", radius: 4, url: "/hs2.geojson", preload: false },
{ id: "eurostar_route", label: "Eurostar (HS1) UK & Europe", color: "#001489", type: "line", width: 2.5, url: "/eurostar.geojson", filter: ['==', ['get', 'type'], 'route'], preload: false },
{ id: "eurostar_station", label: "Eurostar Stations UK & Europe", color: "#ffd700", type: "point", radius: 5.5, url: "/eurostar.geojson", filter: ['==', ['get', 'type'], 'eurostar_station'], preload: false }
]
},
{
group: "Leisure & Sports (GeoJSON)",
layers: [
{ id: "stadiums", label: "Major Stadiums", color: "#e5ff00", type: "point", radius: 5.5, url: "/stadiums.geojson", preload: false }
]
},
{
group: "Global Data Backbone",
layers: [
{ id: "subsea_data_cables", label: "Subsea Data Cables (Fibre) (not all connections available yet)", color: "#00e5ff", type: "line", width: 1.5, url: "/subsea_data_cables.geojson", preload: false }
]
},
{
group: "Global Supply Chain & Chokepoints",
layers: [
{ id: "global_ports_major", label: "Major Ports (Deep Water/Ferry)", color: "#00bfff", type: "point", radius: ['interpolate', ['linear'], ['get', 'area_ha'], 0, 8, 80, 10, 500, 16], url: "/global_ports.geojson", filter: ['==', ['get', 'type'], 'Major Cargo/Container Port'], preload: false },
{ id: "global_ports_minor", label: "Inland / Minor Harbours", color: "#0055aa", type: "point", radius: ['interpolate', ['linear'], ['get', 'area_ha'], 0, 2.5, 50, 4.5, 200, 6], url: "/global_ports.geojson", filter: ['==', ['get', 'type'], 'Minor/Local Harbour'], preload: false },
{ id: "global_hydrocarbons", label: "Global Hydrocarbons (Oil, Gas, LNG)", color: "#ff3300", type: "point", radius: ['interpolate', ['linear'], ['get', 'area_ha'], 0, 4, 100, 8, 1000, 15], url: "/global_hydrocarbons.geojson", preload: false }
]
},
{
group: "Highway Infrastructure",
layers: [
{ id: "motorway_services", label: "Motorway Services", color: "#ff00ff", type: "point", radius: 5.5, url: "/motorway_services.geojson", preload: false }
]
},
{
group: "EV (GeoJSON)",
layers: [
{ id: "ev", label: "EV Rapid (100kW+)", color: "#00ff88", type: "point", radius: 5, url: "/ev_chargers.geojson", preload: false }
]
},
{
group: "REPD (GeoJSON)",
layers: [
{ id: "solar", label: "Solar PV", color: "#ffff00", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'solar'], preload: false },
{ id: "solar_roof", label: "Solar Roof", color: "#ffcc00", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'solar_roof'], preload: false },
{ id: "wind", label: "Wind", color: "#00ffff", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'wind'], preload: false },
{ id: "bess", label: "Battery Storage", color: "#ffae00", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'bess'], preload: false },
{ id: "biomass", label: "Biomass & EfW", color: "#39ff14", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'biomass'], preload: false },
{ id: "tidal", label: "Tidal & Wave", color: "#00bfff", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'tidal'], preload: false },
{ id: "hydrogen", label: "Hydrogen", color: "#ffffff", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'hydrogen'], preload: false },
{ id: "hydro", label: "Hydro & Pumped Storage", color: "#00aaff", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'hydro'], preload: false },
{ id: "flywheel", label: "Flywheel", color: "#ff69b4", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'flywheel'], preload: false },
{ id: "act", label: "Advanced Conversion", color: "#ff6600", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'act'], preload: false },
{ id: "geothermal", label: "Geothermal", color: "#ff3300", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'geothermal'], preload: false },
{ id: "caes", label: "Compressed Air Storage", color: "#88aaff", type: "point", radius: 8, url: "/dist/repd_master.json", filter: ['==', ['get', 'tech'], 'caes'], preload: false }
]
}
];
window.initVentusMap({
config: ukConfig,
center: [-3.5, 54.0],
zoom: 4.2
});
</script>
</body>
</html>Fetch Elizabeth Line v6
A configuration file in GlobalGrid2050. Runs on a schedule and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_elizabeth_linev6.yml · lines 1–47 of 47 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Runs `scripts/fetch_elizabeth_line.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch Elizabeth Line
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/fetch_elizabeth_linev6.yml:1-47 · blob 663e2892d0e2829f6addcdc74e965c7e09804e44 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Fetch Elizabeth Line
on:
schedule:
- cron: '0 4 1 * *' # 1st of every month at 04:00 UTC
workflow_dispatch:
permissions:
contents: write
jobs:
fetch-crossrail:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install requests
- name: Run Elizabeth Line Fetcher
run: python scripts/fetch_elizabeth_line.py
- name: Commit and push changes
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
# Safely stage the geojson file
git add elizabeth_line.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated Elizabeth Line update: $(date -u +'%Y-%m-%d %H:%M UTC')"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fiFetch Eurostar v6
A configuration file in GlobalGrid2050. Runs on a schedule and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_eurostarv6.yml · lines 1–47 of 47 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Runs `scripts/fetch_eurostar.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch Eurostar
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/fetch_eurostarv6.yml:1-47 · blob 4006c70e51878c1ae3d5a176236c0d14dbf97b58 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Fetch Eurostar
on:
schedule:
- cron: '0 5 1 * *' # 1st of every month at 05:00 UTC
workflow_dispatch:
permissions:
contents: write
jobs:
fetch-eurostar:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install requests
- name: Run Eurostar Fetcher
run: python scripts/fetch_eurostar.py
- name: Commit and push changes
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
# Safely stage the geojson file
git add eurostar.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated Eurostar update: $(date -u +'%Y-%m-%d %H:%M UTC')"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fiFetch Global Ports v6
A configuration file in GlobalGrid2050. Runs on a schedule and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_global_portsv6.yml · lines 1–50 of 50 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Runs `scripts/fetch_global_ports.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch Global Ports
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/fetch_global_portsv6.yml:1-50 · blob ea92e1b15b28ef498168215bc6a03fdf0cc2c4e2 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Fetch Global Ports
on:
schedule:
- cron: '0 2 1 * *' # 1st of every month at 02:00 UTC
workflow_dispatch:
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
fetch-ports:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install requests
- name: Run Global Ports Fetcher
run: python scripts/fetch_global_ports.py
- name: Commit and push changes
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
# Safely stage the ports geojson file
git add global_ports.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated global ports update: $(date -u +'%Y-%m-%d %H:%M UTC')"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fiFetch Motorway Services v6
A configuration file in GlobalGrid2050 covering motorways. Runs on a schedule and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_motorway_servicesv6.yml · lines 1–49 of 49 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: motorways.
- What it achieves
- Runs `scripts/fetch_motorway_services.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch Motorway Services
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/fetch_motorway_servicesv6.yml:1-49 · blob 6a50d63012dc5a12d936e795f5c11562f1ce555b · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Fetch Motorway Services
on:
schedule:
- cron: '0 6 1 * *' # 1st of every month at 06:00 UTC
workflow_dispatch:
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
fetch-motorway-services:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install requests
- name: Run Motorway Services Fetcher
run: python scripts/fetch_motorway_services.py
- name: Commit and push changes
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add motorway_services.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated Motorway Services update: $(date -u +'%Y-%m-%d %H:%M UTC')"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fiFetch Stadiums v6
A configuration file in GlobalGrid2050. Runs on a schedule and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/fetch_stadiumsv6.yml · lines 1–47 of 47 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Runs `scripts/fetch_stadiums.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch Stadiums
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/fetch_stadiumsv6.yml:1-47 · blob d1199110b0f25a7768480f9e03a64ba1972f848c · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Fetch Stadiums
on:
schedule:
- cron: '0 3 1 * *' # 1st of every month at 03:00 UTC
workflow_dispatch:
permissions:
contents: write
jobs:
fetch-stadiums:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: pip install requests
- name: Run Stadium Fetcher
run: python scripts/fetch_stadiums.py
- name: Commit and push changes
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
# Safely stage the stadium geojson file
git add stadiums.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated stadium update: $(date -u +'%Y-%m-%d %H:%M UTC')"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fiGenerate Deep Subsea v6
A configuration file in GlobalGrid2050. Runs by hand.
Set aside from the main view: 100% of its lines are the same as .github/workflows/generate_deep_subsea.yml (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 100% of lines shared with GlobalGrid2050 Generate Deep Subsea Workflow; read that one first. All set-aside files, with reasons. Nothing was deleted.
Evidence
- line-jaccard 1.0 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/generate_deep_subsea.yml:1-19 59ebd43cd694e3e05498081e058f579153f4f9dd
- sha256 4ed85be732dce7fcbcf9c5c35149e6dc3eb8daf3b92de91bc9a7871fe29f3155
- target sha256 1f2368513c8b6dd1463e9b32101f21d3c6fa6a4dbd634f6e528db1dbfe204476
- group of 2 (identity.json near-copy edges >= 0.9)
- canonical rule: reachable, newest stamp, core repo, most lines
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/generate_deep_subseav6.yml · lines 1–20 of 20 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Runs `scripts/generate_deep_subsea.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Generate Deep Subsea Illustrative
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/generate_deep_subseav6.yml:1-20 · blob 542a592332c945dae9c67a350620159b95308009 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: duplicate_candidate
name: Generate Deep Subsea Illustrative
on:
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: python scripts/generate_deep_subsea.py
- run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add deep_subsea_illustrative.geojson
git commit -m "Update Deep Subsea" || exit 0
git pushGenerate Global Hydrocarbons v6
A configuration file in GlobalGrid2050. Runs on a schedule and by hand.
Set aside from the main view: 93% of its lines are the same as .github/workflows/generate_global_hydrocarbons.yml (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 92% of lines shared with GlobalGrid2050 Generate Global Hydrocarbons Workflow; read that one first. All set-aside files, with reasons. Nothing was deleted.
Evidence
- line-jaccard 0.9286 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/generate_global_hydrocarbons.yml:1-34 aa40104a954c9ec7ef0393fd1dfbc68d1f737aab
- sha256 db5a1ec6297d2ab809026747431a1526fe5198b448f4f13a1d31be21a7c0bf44
- target sha256 45be417d831a4bd9ad3f8db55037579315dd127c32ac365be5aa8a9bc3536a80
- group of 2 (identity.json near-copy edges >= 0.9)
- canonical rule: reachable, newest stamp, core repo, most lines
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/generate_global_hydrocarbonsv6.yml · lines 1–37 of 37 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Runs `scripts/fetch_global_hydrocarbons.py`.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Generate Global Hydrocarbons Gridbot
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/generate_global_hydrocarbonsv6.yml:1-37 · blob 39bde575f8740417e7e0ba880a32092bda60ef85 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Generate Global Hydrocarbons Gridbot
on:
schedule:
- cron: '0 4 4 * *'
workflow_dispatch:
jobs:
update-data:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install requests
# Pointing to the scripts folder
- name: Run Python script
run: python scripts/fetch_global_hydrocarbons.py
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "Gridbot"
git config --global user.email "gridbot@ventus.com"
git add global_hydrocarbons.geojson
git diff --quiet && git diff --staged --quiet || git commit -m "Automated global hydrocarbons update by Gridbot"
git pushGenerate Repo Structure v6
A configuration file in GlobalGrid2050. Runs on push and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/generate_repo_structurev6.yml · lines 1–37 of 37 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Its name says it generates repo structure.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Generate Repo Structure Gridbot
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/generate_repo_structurev6.yml:1-37 · blob 9253834a67db3472ef4fcf539108a1d8bcf47131 · GitHub at these lines
- State
- achieves: name · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Generate Repo Structure Gridbot
on:
workflow_dispatch: # Run it manually whenever you want a fresh report
push:
branches:
- main
paths:
- '**/*.py'
- '**/*.html'
- '**/*.js'
# Automatically updates the report if you add new code files
jobs:
generate-tree:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Tree Utility
run: sudo apt-get install tree -y
- name: Generate Structure Report
# This ignores messy folders like .git and creates the text file
run: tree -I '.git|__pycache__|node_modules|.github' > REPO_STRUCTURE.txt
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "Gridbot"
git config --global user.email "gridbot@ventus.com"
git add REPO_STRUCTURE.txt
git diff --quiet && git diff --staged --quiet || git commit -m "docs: Automated repository structure update by Gridbot"
git pushJekyll Gh Pages v6
A configuration file in GlobalGrid2050. Runs on push and by hand.
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/jekyll-gh-pagesv6.yml · lines 1–51 of 51 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- What it achieves
- Sample workflow for building and deploying a Jekyll site to GitHub Pages.
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Deploy Jekyll with GitHub Pages dependencies preinstalled
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/jekyll-gh-pagesv6.yml:1-51 · blob e31d81c5864303b9e18929ca21a5bc41e64f39b2 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4Renewable Energy Planning Database (REPD) Sync v6
A configuration file in GlobalGrid2050 covering the REPD register. Runs on a schedule and by hand.
Set aside from the main view: 93% of its lines are the same as .github/workflows/repd_sync.yml (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 93% of lines shared with GlobalGrid2050 Renewable Energy Planning Database (REPD) Sync Workflow; read that one first. All set-aside files, with reasons. Nothing was deleted.
Evidence
- line-jaccard 0.931 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/repd_sync.yml:1-34 f4e28e5c23e5a35b83fbeffd4a000176e351e7e4
- sha256 f75ad1f2249ceaac9cab8a0fb70238d0ecb5a4d79b2e8d876e1639e82810d015
- target sha256 72a5345a13475d71ef9ad51cb5c42b9da33f1d7a2803728e2a01ec00283bea74
- group of 2 (identity.json near-copy edges >= 0.9)
- canonical rule: reachable, newest stamp, core repo, most lines
automationglobalgrid2050 / repd_grid_atlasv6/.github/workflows/repd_syncv6.yml · lines 1–36 of 36 · Not reached from any entry point (candidate for review)
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'repd'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight. Domain terms in the code: the REPD register.
- What it achieves
- Named “Ventus REPD Master Sync”; runs GlobalGrid2050 Renewable Energy Planning Database (REPD) Updater (`scripts/repd_updater.py`).
- Why it matters
- No other file in the estate was found to import it.
- Application
- globalgrid2050 · repd_grid_atlasv6/.github/workflows · configuration
- Uses
- none found
- Used by
- none found
- Produces
- none declared
- Defines here
- Ventus REPD Master Sync
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 repd_grid_atlasv6/.github/workflows/repd_syncv6.yml:1-36 · blob e026f9e2cb7106b08df099997050b7ed650b04b4 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: none found · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: unreached_review
name: Ventus REPD Master Sync
on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
update-repd:
name: Generate Master GeoJSON
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout Repository
uses: actions/checkout@v4
- name: 🐍 Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: 📦 Install Spatial Dependencies
run: |
python -m pip install --upgrade pip
pip install pandas pyyaml requests pyproj beautifulsoup4
- name: ⚡ Execute REPD Master Updater
run: python scripts/repd_updater.py
env:
PYTHONPATH: .
- name: 🛡️ Commit Optimized Data
run: |
git config --global user.name "Ventus-Bot"
git config --global user.email "bot@ventus.ltd"
git add dist/repd_master.json dist/manifest_v4.json
git diff --quiet && git diff --staged --quiet || (git commit -m "REPD Master Update: $(date +'%Y-%m-%d')" && git push)