In this section
- GlobalGrid2050 Fetch UK Energy and Prices V4 Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_energy_and_prices_v4.yml lines 1–78
- GlobalGrid2050 Fetch UK Energy and Prices V5 Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_energy_and_prices_v5.yml lines 1–76
- GlobalGrid2050 Fetch UK Energy and Prices V6 Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_energy_and_prices_v6.yml lines 1–61
- GlobalGrid2050 Fetch UK Frequency V5 Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_frequency_v5.yml lines 1–83
- GlobalGrid2050 Fetch UK Frequency V6 Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_frequency_v6.yml lines 1–85
- GlobalGrid2050 Fetch UK Railways Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_railways.yml lines 1–41
- GlobalGrid2050 Fetch UK Roads Workflow automation · globalgrid2050 / .github/workflows/fetch_uk_roads.yml lines 1–41
- GlobalGrid2050 Fix UK Renewables Pipeline CSV Export Workflow automation · globalgrid2050 / .github/workflows/fix-uk-renewables-pipeline-csv-export.yml lines 1–47
- GlobalGrid2050 Fix V5 JS Filenames Workflow automation · globalgrid2050 / .github/workflows/fix-v5-js-filenames.yml lines 1–21
- GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe Workflow automation · globalgrid2050 / .github/workflows/fix-v6-v7-gis-sld-print-simple-safe.yml lines 1–54
- GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility Workflow automation · globalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-array-toggle-visibility.yml lines 1–47
- GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility Workflow automation · globalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-mwp-sizing-visibility.yml lines 1–47
GlobalGrid2050 Fetch UK Energy and Prices V4 Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_energy_and_prices_v4.yml · lines 1–78 of 78 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Update UK Energy V4 (`scripts/update_uk_energy_v4.py`) and GlobalGrid2050 Update UK Price V4 (`scripts/update_uk_price_v4.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Update UK Energy V4 (workflow run), GlobalGrid2050 Update UK Price V4 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- fetch_uk_energy_and_prices_v4
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_energy_and_prices_v4.yml:1-78 · blob 9dd6bdb20f8588e31abae9ba13ae731307dcaf4b · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: fetch_uk_energy_and_prices_v4
# RETIRED WORKFLOW.
# V4 is preserved for reference and manual recovery only.
# Scheduled live updates have been disabled so operational focus moves to V5.
on:
workflow_dispatch:
inputs:
slice:
description: Which V4 slice to run
required: true
default: both
type: choice
options: [both, energy, price]
permissions:
contents: write
concurrency:
group: uk-energy-tracking-v4
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install requests
- name: Determine V4 slice
id: which
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "slice=${{ github.event.inputs.slice }}" >> "$GITHUB_OUTPUT"
else
echo "slice=both" >> "$GITHUB_OUTPUT"
fi
- name: Run V4 energy slice
if: steps.which.outputs.slice == 'energy' || steps.which.outputs.slice == 'both'
run: python scripts/update_uk_energy_v4.py
- name: Run V4 price slice
if: steps.which.outputs.slice == 'price' || steps.which.outputs.slice == 'both'
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
FORCE_UK_PRICE=1 python scripts/update_uk_price_v4.py
else
python scripts/update_uk_price_v4.py
fi
- name: Commit V4 grid feeds and price history
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
set -e
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add \
uk_energy_tracking_v4/live_grid_energy.json \
uk_energy_tracking_v4/live_grid_price.json \
uk_energy_tracking_v4/electricity_price_history.csv \
uk_energy_tracking_v4/electricity_price_history.json
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Manual retired UK grid update V4 (${{ steps.which.outputs.slice }}): $(date -u +'%Y-%m-%d %H:%M UTC')"
git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No V4 grid feed or price history changes to commit"
fiGlobalGrid2050 Fetch UK Energy and Prices V5 Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_energy_and_prices_v5.yml · lines 1–76 of 76 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Update UK Energy V5 (`scripts/update_uk_energy_v5.py`), GlobalGrid2050 Update UK Price V5 (`scripts/update_uk_price_v5.py`) and GlobalGrid2050 Generate Price History Daily V5 (`scripts/generate_price_history_daily_v5.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Update UK Energy V5 (workflow run), GlobalGrid2050 Update UK Price V5 (workflow run), GlobalGrid2050 Generate Price History Daily V5 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- fetch_uk_energy_and_prices_v5
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_energy_and_prices_v5.yml:1-76 · blob ab453254ad68c63a23ad5267094c95844fa2d316 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: fetch_uk_energy_and_prices_v5
on:
workflow_dispatch:
inputs:
slice:
description: Which V5 slice to run
required: true
default: both
type: choice
options: [both, energy, price]
permissions:
contents: write
concurrency:
group: uk-energy-tracking-v5
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install requests
- name: Determine V5 slice
id: which
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "slice=${{ github.event.inputs.slice }}" >> "$GITHUB_OUTPUT"
else
echo "slice=both" >> "$GITHUB_OUTPUT"
fi
- name: Run V5 energy slice
if: steps.which.outputs.slice == 'energy' || steps.which.outputs.slice == 'both'
run: python scripts/update_uk_energy_v5.py
- name: Run V5 price slice
if: steps.which.outputs.slice == 'price' || steps.which.outputs.slice == 'both'
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
FORCE_UK_PRICE=1 python scripts/update_uk_price_v5.py
else
python scripts/update_uk_price_v5.py
fi
python scripts/generate_price_history_daily_v5.py
- name: Commit V5 grid feeds and price history
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
set -e
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add \
uk_energy_tracking_v5/live_grid_energy.json \
uk_energy_tracking_v5/live_grid_price.json \
uk_energy_tracking_v5/electricity_price_history.csv \
uk_energy_tracking_v5/electricity_price_history.json \
uk_energy_tracking_v5/electricity_price_history_daily_decade.json
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated UK grid update V5 (${{ steps.which.outputs.slice }}): $(date -u +'%Y-%m-%d %H:%M UTC')"
git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No V5 grid feed or price history changes to commit"
fiGlobalGrid2050 Fetch UK Energy and Prices V6 Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_energy_and_prices_v6.yml · lines 1–61 of 61 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Update UK Energy V6 (`scripts/update_uk_energy_v6.py`), GlobalGrid2050 Update UK Price V6 (`scripts/update_uk_price_v6.py`) and GlobalGrid2050 Generate Price History Daily V6 (`scripts/generate_price_history_daily_v6.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Update UK Energy V6 (workflow run), GlobalGrid2050 Update UK Price V6 (workflow run), GlobalGrid2050 Generate Price History Daily V6 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- fetch_uk_energy_and_prices_v6
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_energy_and_prices_v6.yml:1-61 · blob 75d186f3a8b7c41b757331d30bf588e2c38d4cee · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: fetch_uk_energy_and_prices_v6
on:
workflow_dispatch:
inputs:
slice:
description: Which V6 slice to run
required: true
default: both
type: choice
options: [both, energy, price]
permissions:
contents: write
concurrency:
group: uk-energy-tracking-v6
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install requests
- name: Determine V6 slice
id: which
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "slice=${{ github.event.inputs.slice }}" >> "$GITHUB_OUTPUT"
else
echo "slice=both" >> "$GITHUB_OUTPUT"
fi
- name: Run V6 energy slice
if: steps.which.outputs.slice == 'energy' || steps.which.outputs.slice == 'both'
run: python scripts/update_uk_energy_v6.py
- name: Run V6 price slice
if: steps.which.outputs.slice == 'price' || steps.which.outputs.slice == 'both'
run: |
python scripts/update_uk_price_v6.py
python scripts/generate_price_history_daily_v6.py
- name: Commit V6 grid feeds
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
set -e
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add uk_energy_tracking_v6/live_grid_energy.json uk_energy_tracking_v6/live_grid_price.json uk_energy_tracking_v6/electricity_price_history.csv uk_energy_tracking_v6/electricity_price_history.json uk_energy_tracking_v6/electricity_price_history_daily_decade.json
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Automated UK grid update V6 (${{ steps.which.outputs.slice }}): $(date -u +'%Y-%m-%d %H:%M UTC')"
git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No V6 grid feed changes to commit"
fiGlobalGrid2050 Fetch UK Frequency V5 Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_frequency_v5.yml · lines 1–83 of 83 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Update UK Frequency V5 (`scripts/update_uk_frequency_v5.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Update UK Frequency V5 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- fetch_uk_frequency_v5
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_frequency_v5.yml:1-83 · blob 20af09c04b9062a0dbb573b38e415601b48663c0 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: fetch_uk_frequency_v5
on:
workflow_dispatch:
inputs:
burst_samples:
description: Number of 2 minute spaced samples to take in this run
required: true
default: '1'
type: choice
options: ['1', '2', '3', '6', '12']
rolling_hours:
description: Rolling retention window in hours
required: true
default: '24'
type: choice
options: ['6', '12', '24']
permissions:
contents: write
concurrency:
group: uk-frequency-v5
cancel-in-progress: false
jobs:
update-frequency:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT || github.token }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python dependencies
run: pip install requests
- name: Resolve frequency run settings
id: settings
shell: bash
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "burst_samples=${{ github.event.inputs.burst_samples }}" >> "$GITHUB_OUTPUT"
echo "rolling_hours=${{ github.event.inputs.rolling_hours }}" >> "$GITHUB_OUTPUT"
else
echo "burst_samples=1" >> "$GITHUB_OUTPUT"
echo "rolling_hours=24" >> "$GITHUB_OUTPUT"
fi
- name: Run V5 UK grid frequency collector
env:
GG_FREQUENCY_BURST_SAMPLES: ${{ steps.settings.outputs.burst_samples }}
GG_FREQUENCY_SLEEP_SECONDS: '120'
GG_FREQUENCY_ROLLING_HOURS: ${{ steps.settings.outputs.rolling_hours }}
GG_FREQUENCY_LOOKBACK_MINUTES: '180'
run: python scripts/update_uk_frequency_v5.py
- name: Commit V5 frequency feed and report
env:
PUSH_TOKEN: ${{ secrets.GRIDBOT_PAT || github.token }}
shell: bash
run: |
set -euo pipefail
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add \
uk_energy_tracking_v5/grid_frequency_history.csv \
uk_energy_tracking_v5/live_grid_frequency.json \
uk_energy_tracking_v5/grid_frequency_weekly_health.csv \
uk_energy_tracking_v5/live_grid_frequency_weekly_health.json \
gridbot_reports/uk_frequency_v5_report.md
if git diff --cached --quiet; then
echo "No staged V5 frequency changes to commit"
git status --short
exit 0
fi
git commit -m "Automated UK frequency update V5: $(date -u +'%Y-%m-%d %H:%M UTC')"
git pull --rebase https://x-access-token:${PUSH_TOKEN}@github.com/${{ github.repository }}.git main
git push https://x-access-token:${PUSH_TOKEN}@github.com/${{ github.repository }}.git HEAD:mainGlobalGrid2050 Fetch UK Frequency V6 Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_frequency_v6.yml · lines 1–85 of 85 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Update UK Frequency V6 (`scripts/update_uk_frequency_v6.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Update UK Frequency V6 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- fetch_uk_frequency_v6
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_frequency_v6.yml:1-85 · blob a543bfa083007476aa1bb74e0732156e828341b9 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: fetch_uk_frequency_v6
on:
workflow_dispatch:
inputs:
burst_samples:
description: Number of samples
required: true
default: '1'
type: choice
options: ['1', '2', '3', '6', '12']
rolling_hours:
description: Rolling retention window in hours
required: true
default: '24'
type: choice
options: ['6', '12', '24']
permissions:
contents: write
concurrency:
group: uk-frequency-v6
cancel-in-progress: false
jobs:
update-frequency:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python dependencies
run: pip install requests
- name: Resolve frequency run settings
id: settings
shell: bash
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
echo "burst_samples=${{ github.event.inputs.burst_samples }}" >> "$GITHUB_OUTPUT"
echo "rolling_hours=${{ github.event.inputs.rolling_hours }}" >> "$GITHUB_OUTPUT"
else
echo "burst_samples=1" >> "$GITHUB_OUTPUT"
echo "rolling_hours=24" >> "$GITHUB_OUTPUT"
fi
- name: Run V6 UK grid frequency collector
env:
GG_FREQUENCY_BURST_SAMPLES: ${{ steps.settings.outputs.burst_samples }}
GG_FREQUENCY_SLEEP_SECONDS: '120'
GG_FREQUENCY_ROLLING_HOURS: ${{ steps.settings.outputs.rolling_hours }}
GG_FREQUENCY_LOOKBACK_MINUTES: '180'
run: python scripts/update_uk_frequency_v6.py
- name: Verify V6 frequency outputs
shell: bash
run: |
set -euo pipefail
test -f uk_energy_tracking_v6/grid_frequency_history.csv
test -f uk_energy_tracking_v6/live_grid_frequency.json
test -f uk_energy_tracking_v6/grid_frequency_weekly_health.csv
test -f uk_energy_tracking_v6/live_grid_frequency_weekly_health.json
test -f gridbot_reports/uk_frequency_v6_report.md
ls -lh uk_energy_tracking_v6/grid_frequency_history.csv uk_energy_tracking_v6/live_grid_frequency.json uk_energy_tracking_v6/grid_frequency_weekly_health.csv uk_energy_tracking_v6/live_grid_frequency_weekly_health.json gridbot_reports/uk_frequency_v6_report.md
- name: Commit V6 frequency feed and report
shell: bash
run: |
set -euo pipefail
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add -A uk_energy_tracking_v6 gridbot_reports
if git diff --cached --quiet; then
echo "No staged V6 frequency changes to commit"
exit 0
fi
git commit -m "Automated UK frequency update V6"
git pull --rebase
git pushGlobalGrid2050 Fetch UK Railways Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_railways.yml · lines 1–41 of 41 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Fetch UK Railways (`repd_grid_atlasv8/scripts/fetch_uk_railways.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- Fetch UK Railways (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch UK Railways Network
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_railways.yml:1-41 · blob 9b0eda601eceab9018ac733cf89840a8df48c91c · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Fetch UK Railways Network
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fetch-railways:
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 UK Railways Fetcher
run: python repd_grid_atlasv8/scripts/fetch_uk_railways.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 uk_mainline_railways.geojson uk_metros_trams.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Manual UK Railways 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"
fiGlobalGrid2050 Fetch UK Roads Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fetch_uk_roads.yml · lines 1–41 of 41 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs Fetch UK Roads (`repd_grid_atlasv8/scripts/fetch_uk_roads.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- Fetch UK Roads (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fetch UK Roads Network
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fetch_uk_roads.yml:1-41 · blob 34834374513fe6ad5fb7b637bed645f345d136eb · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Fetch UK Roads Network
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fetch-roads:
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 UK Roads Fetcher
run: python repd_grid_atlasv8/scripts/fetch_uk_roads.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 uk_motorways.geojson uk_trunk_roads.geojson uk_primary_roads.geojson || true
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Manual UK Roads 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"
fiGlobalGrid2050 Fix UK Renewables Pipeline CSV Export Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fix-uk-renewables-pipeline-csv-export.yml · lines 1–47 of 47 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'renewables'): 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.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Fix UK Renewables Pipeline CSV Export (`scripts/fix_uk_renewables_pipeline_csv_export.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Fix UK Renewables Pipeline CSV Export (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fix UK Renewables Pipeline CSV Export
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fix-uk-renewables-pipeline-csv-export.yml:1-47 · blob 0783292818d8d26a424e7a47a3264ff20befcb56 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Fix UK Renewables Pipeline CSV Export
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fix-csv-export:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Fix UK renewables pipeline CSV export
run: python scripts/fix_uk_renewables_pipeline_csv_export.py
- name: Commit and push CSV export fix
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git pull --rebase --autostash origin main
git add \
uk_renewables_pipeline/dashboard.html \
scripts/fix_uk_renewables_pipeline_csv_export.py \
gridbot_reports/fix_uk_renewables_pipeline_csv_export.md
if git diff --cached --quiet; then
echo "No CSV export changes to commit."
exit 0
fi
git commit -m "Fix UK renewables pipeline CSV export"
git pull --rebase --autostash origin main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:mainGlobalGrid2050 Fix V5 JS Filenames Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fix-v5-js-filenames.yml · lines 1–21 of 21 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Fix V5 JS Filenames (`scripts/fix_v5_js_filenames.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Fix V5 JS Filenames (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fix V5 JS Filenames
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fix-v5-js-filenames.yml:1-21 · blob a27271518b00be75fab1f7de3978c8a4e7839acb · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Fix V5 JS Filenames
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fix V5 JavaScript filenames
run: python scripts/fix_v5_js_filenames.py
- name: Commit V5 JavaScript filename repair
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix V5 JavaScript filename mismatch
file_pattern: solar-bess-topology-v5/*.js gridbot_reports/v5_js_filename_repair.mdGlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fix-v6-v7-gis-sld-print-simple-safe.yml · lines 1–54 of 54 · Entry point
- What it does
- It runs solar and battery storage (BESS). Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary. Domain terms in the code: solar, battery storage (BESS).
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe (`scripts/fix_v6_v7_gis_sld_print_simple_safe.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Fix V6 V7 GIS Single-Line Diagram (SLD) Print Simple Safe (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fix V6 V7 GIS SLD Print Simple Safe
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fix-v6-v7-gis-sld-print-simple-safe.yml:1-54 · blob 27dbc15997f0c00679127c1d992419c57d656599 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Fix V6 V7 GIS SLD Print Simple Safe
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fix-print-simple-safe:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Fix GIS SLD print simple safe
run: python scripts/fix_v6_v7_gis_sld_print_simple_safe.py
- name: Commit and push simple safe print fix
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git pull --rebase --autostash origin main
git add \
solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-state.js \
solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-map.js \
solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5-ui.js \
solar-bess-topology-v6/gis-sld-financial-sandbox/gis-sld-v5.css \
solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-state.js \
solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-map.js \
solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5-ui.js \
solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css \
scripts/fix_v6_v7_gis_sld_print_simple_safe.py \
gridbot_reports/fix_v6_v7_gis_sld_print_simple_safe.md
if git diff --cached --quiet; then
echo "No simple safe print fix changes to commit."
exit 0
fi
git commit -m "Fix GIS SLD print with simple safe mode"
git pull --rebase --autostash origin main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:mainGlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-array-toggle-visibility.yml · lines 1–47 of 47 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'array'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility (`scripts/fix_v7_gis_sld_mobile_array_toggle_visibility.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Array Toggle Visibility (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fix V7 GIS SLD Mobile Array Toggle Visibility
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fix-v7-gis-sld-mobile-array-toggle-visibility.yml:1-47 · blob afd8009550be10b2ad954ec73d0bb9bf04cb14ec · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Fix V7 GIS SLD Mobile Array Toggle Visibility
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fix-array-toggle-visibility:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Apply mobile array toggle visibility fix
run: python scripts/fix_v7_gis_sld_mobile_array_toggle_visibility.py
- name: Commit and push mobile array toggle visibility fix
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git pull --rebase --autostash origin main
git add \
solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css \
scripts/fix_v7_gis_sld_mobile_array_toggle_visibility.py \
gridbot_reports/fix_v7_gis_sld_mobile_array_toggle_visibility.md
if git diff --cached --quiet; then
echo "No mobile array toggle visibility changes to commit."
exit 0
fi
git commit -m "Fix V7 GIS SLD mobile array toggle visibility"
git pull --rebase --autostash origin main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:mainGlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/fix-v7-gis-sld-mobile-mwp-sizing-visibility.yml · lines 1–47 of 47 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'sld'): inside-the-fence electrical and civil design below 33kV, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility (`scripts/fix_v7_gis_sld_mobile_mwp_sizing_visibility.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Fix V7 GIS Single-Line Diagram (SLD) Mobile Mwp Sizing Visibility (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Fix V7 GIS SLD Mobile MWp Sizing Visibility
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/fix-v7-gis-sld-mobile-mwp-sizing-visibility.yml:1-47 · blob effe7c3a32ff6bcb71327699f5001389bf4ac7fc · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: sub33kv_design · users: EPC_contractor, ICP_grid_engineer · canonical: production_core
name: Fix V7 GIS SLD Mobile MWp Sizing Visibility
on:
workflow_dispatch:
permissions:
contents: write
jobs:
fix-mobile-mwp-sizing:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Apply mobile MWp sizing visibility fix
run: python scripts/fix_v7_gis_sld_mobile_mwp_sizing_visibility.py
- name: Commit and push mobile MWp sizing visibility fix
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git pull --rebase --autostash origin main
git add \
solar-bess-topology-v7/gis-sld-financial-sandbox/gis-sld-v5.css \
scripts/fix_v7_gis_sld_mobile_mwp_sizing_visibility.py \
gridbot_reports/fix_v7_gis_sld_mobile_mwp_sizing_visibility.md
if git diff --cached --quiet; then
echo "No mobile MWp sizing visibility changes to commit."
exit 0
fi
git commit -m "Fix V7 GIS SLD mobile MWp sizing visibility"
git pull --rebase --autostash origin main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main