GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Automation and CI / globalgrid2050 / .github/workflows

GlobalGrid2050 Overnight Generation MW Backfill Workflow and 16 more files

A GitHub Actions workflow. Runs by hand.

684 lines of YAML from globalgrid2050, in 17 files. Topic: Automation and CI. Section 1723 of 2044.

Cut 2026-12-06T03:07:51+00:00. A copy for reading; the repository at the stated commit is the source.

In the State lines below, domain stage, users and canonical status are rule-based first approximations from code and path evidence (rules explore-agent-rules-v1), not observed facts: the rules.

In this section

  1. GlobalGrid2050 Ons MWh Energy Use Annual V6 Workflow automation · globalgrid2050 / .github/workflows/ons_mwh_energy_use_annual_v6.yml lines 1–45
  2. GlobalGrid2050 Open Energy Cartridge Workflow automation · globalgrid2050 / .github/workflows/open-energy-cartridge.yml lines 1–24
  3. GlobalGrid2050 Overnight Generation MW Backfill Workflow automation · globalgrid2050 / .github/workflows/overnight_generation_mw_backfill.yml lines 1–137
  4. GlobalGrid2050 Patch UK Energy Oil Dashboard Workflow automation · globalgrid2050 / .github/workflows/patch_uk_energy_oil_dashboard.yml lines 1–42
  5. GlobalGrid2050 Patch UK Energy Tracking V2 Oil Graph Workflow automation · globalgrid2050 / .github/workflows/patch_uk_energy_tracking_v2_oil_graph.yml lines 1–40
  6. GlobalGrid2050 Patch UK Energy Tracking V2 Transport Workflow automation · globalgrid2050 / .github/workflows/patch_uk_energy_tracking_v2_transport.yml lines 1–41
  7. GlobalGrid2050 Patch V3 Price Axis Table Fullscreen Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_axis_table_fullscreen.yml lines 1–20
  8. GlobalGrid2050 Patch V3 Price History Correctness Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_history_correctness.yml lines 1–23
  9. GlobalGrid2050 Patch V3 Price History Date Window Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_history_date_window.yml lines 1–19
  10. GlobalGrid2050 Patch V3 Price History Fullscreen Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_history_fullscreen.yml lines 1–19
  11. GlobalGrid2050 Patch V3 Price History Merge System Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_history_merge_system.yml lines 1–19
  12. GlobalGrid2050 Patch V3 Price History UI Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_history_ui.yml lines 1–55
  13. GlobalGrid2050 Patch V3 Price Lazy Selectors Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_lazy_selectors.yml lines 1–22
  14. GlobalGrid2050 Patch V3 Price Range Fullscreen Fix Workflow automation · globalgrid2050 / .github/workflows/patch_v3_price_range_fullscreen_fix.yml lines 1–20
  15. GlobalGrid2050 Patch V4 Live Tracker Modular Structure Workflow automation · globalgrid2050 / .github/workflows/patch_v4_live_tracker_modular_structure.yml lines 1–72
  16. GlobalGrid2050 Patch V5 Chart Dynamic Annotations Workflow automation · globalgrid2050 / .github/workflows/patch_v5_chart_dynamic_annotations.yml lines 1–43
  17. GlobalGrid2050 Patch V5 Chart Overlap Controls Workflow automation · globalgrid2050 / .github/workflows/patch_v5_chart_overlap_controls.yml lines 1–43

GlobalGrid2050 Ons MWh Energy Use Annual V6 Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/ons_mwh_energy_use_annual_v6.yml · lines 1–45 of 45 · 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 Download Ons MWh Energy Use V6 (`scripts/download_ons_mwh_energy_use_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 Download Ons MWh Energy Use V6 (workflow run)
Used by
none found
Produces
none declared
Defines here
Update ONS MWh Energy Use Annual 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/ons_mwh_energy_use_annual_v6.yml:1-45 · blob 55e5a163b54e0bfa0b2ec7501fd96daf42cfa28b · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Update ONS MWh Energy Use Annual V6

on:
  workflow_dispatch:
permissions:
  contents: write

concurrency:
  group: ons-mwh-energy-use-annual-v6
  cancel-in-progress: true

jobs:
  update_ons_mwh:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: ${{ secrets.GRIDBOT_PAT }}

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Download and normalise ONS MWh energy use workbook
        run: |
          python scripts/download_ons_mwh_energy_use_v6.py

      - name: Commit ONS MWh energy use data
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          set -e
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"
          git add data/ons/11energyusebyindustrysourceandfuel.xlsx uk_energy_tracking_v6/generation_history/mwh_energy_use/ons_mwh_energy_use_annual.json uk_energy_tracking_v6/generation_history/mwh_energy_use/ons_mwh_summary_top_uses_latest.json uk_energy_tracking_v6/generation_history/mwh_energy_use/ons_mwh_summary_by_fuel.json uk_energy_tracking_v6/generation_history/mwh_energy_use/ONS_MWH_ENER  … [line shortened here: 416 characters; full line on GitHub]
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Update ONS MWh energy use data"
            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 ONS MWh energy use changes"
          fi

GlobalGrid2050 Open Energy Cartridge Workflow

A GitHub Actions workflow. Runs on push, on pull requests and by hand.

automationglobalgrid2050 / .github/workflows/open-energy-cartridge.yml · lines 1–24 of 24 · 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
No statement of purpose was found in the file, a README line naming it, or its name.
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
Model Test (workflow run), Model Test (workflow run), Model Test (workflow run), Model Test (workflow run), Model Test (workflow run), Model Test (workflow run), Energy (workflow run)
Used by
none found
Produces
none declared
Defines here
Open energy cartridge
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/open-energy-cartridge.yml:1-24 · blob 24506e444e46b1995fb41e7c0b74c48fed004ea4 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Open energy cartridge
on:
  push:
    branches: [main]
    paths: ['cartridges/**', '.github/workflows/open-energy-cartridge.yml']
  pull_request:
    paths: ['cartridges/**', '.github/workflows/open-energy-cartridge.yml']
  workflow_dispatch:
permissions:
  contents: read
concurrency:
  group: open-energy-${{ github.ref }}
  cancel-in-progress: true
jobs:
  model:
    runs-on: ubuntu-latest
    timeout-minutes: 5
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '22'
      - run: node --test cartridges/*/model.test.mjs
      - run: node --check cartridges/202609052143-open-energy/energy.mjs

GlobalGrid2050 Overnight Generation MW Backfill Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/overnight_generation_mw_backfill.yml · lines 1–137 of 137 · Entry point

What it does
It runs solar. Side effects: starts processes.
Why it exists in the grid workflow
Domain stage upstream_foresight (path word 'generation'): 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: solar.
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 Fetch Generation MW Year Staged (`scripts/fetch_generation_mw_year_staged.py`) and GlobalGrid2050 Build Generation Daily MW Spine (`scripts/build_generation_daily_mw_spine.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 Fetch Generation MW Year Staged (workflow run), GlobalGrid2050 Build Generation Daily MW Spine (workflow run)
Used by
none found
Produces
none declared
Defines here
Overnight Generation MW Backfill
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/overnight_generation_mw_backfill.yml:1-137 · blob 3975a782559b798d7f231044d607cc7119c79e77 · 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: Overnight Generation MW Backfill

on:
  workflow_dispatch:
    inputs:
      mode:
        description: Run mode
        required: true
        default: audit
        type: choice
        options:
          - audit
          - apply
      years:
        description: Comma separated years to fetch, newest or oldest order allowed
        required: true
        default: '2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026'
        type: string
      include_solar:
        description: Also try PVLive embedded solar candidate rows
        required: true
        default: 'false'
        type: choice
        options:
          - 'true'
          - 'false'
      delay_seconds:
        description: Delay between daily API calls
        required: true
        default: '0.35'
        type: string
      max_file_mb:
        description: Staged file split target in MB
        required: true
        default: '25'
        type: string
      refetch_existing:
        description: Refetch days already staged
        required: true
        default: 'false'
        type: choice
        options:
          - 'true'
          - 'false'
      commit_outputs:
        description: Commit staged data, daily spine and reports
        required: true
        default: 'true'
        type: choice
        options:
          - 'true'
          - 'false'
permissions:
  contents: write

concurrency:
  group: overnight-generation-mw-backfill
  cancel-in-progress: false

jobs:
  overnight-generation-mw-backfill:
    runs-on: ubuntu-latest
    timeout-minutes: 720

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Fetch staged generation MW source years
        shell: bash
        run: |
          set -euo pipefail
          IFS=',' read -ra YEARS <<< "${{ github.event.inputs.years }}"
          for raw_year in "${YEARS[@]}"; do
            year="$(echo "$raw_year" | xargs)"
            if [ -z "$year" ]; then
              continue
            fi
            echo "Fetching generation MW source year $year"
            args=(python scripts/fetch_generation_mw_year_staged.py --year "$year" --delay-seconds "${{ github.event.inputs.delay_seconds }}" --max-file-mb "${{ github.event.inputs.max_file_mb }}")
            if [ "${{ github.event.inputs.include_solar }}" = "true" ]; then
              args+=(--include-solar)
            fi
            if [ "${{ github.event.inputs.refetch_existing }}" = "true" ]; then
              args+=(--refetch-existing)
            fi
            if [ "${{ github.event.inputs.mode }}" = "apply" ]; then
              args+=(--apply)
            fi
            "${args[@]}"
          done

      - name: Build daily MW spine from staged rows
        shell: bash
        run: |
          set -euo pipefail
          args=(python scripts/build_generation_daily_mw_spine.py --years "${{ github.event.inputs.years }}")
          if [ "${{ github.event.inputs.mode }}" = "apply" ]; then
            args+=(--apply)
          fi
          "${args[@]}"

      - name: Upload generation MW backfill reports
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: overnight-generation-mw-backfill-reports
          path: |
            data_science_protocol/audit_reports/GENERATION_MW_FETCH_*_LATEST.md
            data_science_protocol/audit_reports/json/GENERATION_MW_FETCH_*_LATEST.json
            data_science_protocol/audit_reports/GENERATION_DAILY_MW_SPINE_LATEST.md
            data_science_protocol/audit_reports/json/GENERATION_DAILY_MW_SPINE_LATEST.json

      - name: Commit generation MW staged outputs
        if: github.event.inputs.commit_outputs == 'true'
        shell: bash
        run: |
          set -euo pipefail
          git config --global user.name "Gridbot"
          git config --global user.email "gridbot@globalgrid2050.com"
          git add data/generation/staged_mw/ || true
          git add data/confirmed/generation_daily_mw_spine_candidate.json || true
          git add data_science_protocol/audit_reports/ || true
          if git diff --cached --quiet; then
            echo "No generation MW backfill outputs to commit"
            exit 0
          fi
          git commit -m "gridbot: overnight generation MW backfill ${{ github.event.inputs.mode }}"
          git pull --rebase origin "${GITHUB_REF_NAME}"
          git push origin HEAD:"${GITHUB_REF_NAME}"

GlobalGrid2050 Patch UK Energy Oil Dashboard Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_uk_energy_oil_dashboard.yml · lines 1–42 of 42 · 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 Patch UK Energy Oil Dashboard Interactivity (`scripts/patch_uk_energy_oil_dashboard_interactivity.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 Patch UK Energy Oil Dashboard Interactivity (workflow run)
Used by
none found
Produces
none declared
Defines here
patch_uk_energy_oil_dashboard
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/patch_uk_energy_oil_dashboard.yml:1-42 · blob f3bd9dd0125eed4f25040c7fbd39ca4701024814 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: patch_uk_energy_oil_dashboard

on:
  workflow_dispatch:
permissions:
  contents: write

concurrency:
  group: patch-uk-energy-oil-dashboard
  cancel-in-progress: false

jobs:
  patch:
    runs-on: ubuntu-latest
    timeout-minutes: 5

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.11"

      - name: Patch UK energy oil dashboard
        run: python scripts/patch_uk_energy_oil_dashboard_interactivity.py

      - name: Commit and push changes
        run: |
          set -e
          git config user.name "GridBot"
          git config user.email "gridbot@users.noreply.github.com"
          git add uk_energy_tracking/index.md scripts/patch_uk_energy_oil_dashboard_interactivity.py .github/workflows/patch_uk_energy_oil_dashboard.yml
          if git diff --cached --quiet; then
            echo "No changes to commit"
            exit 0
          fi
          git commit -m "Patch UK energy oil dashboard interactivity"
          git push origin HEAD:main

GlobalGrid2050 Patch UK Energy Tracking V2 Oil Graph Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_uk_energy_tracking_v2_oil_graph.yml · lines 1–40 of 40 · 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 Patch UK Energy Tracking V2 Oil Graph (`scripts/patch_uk_energy_tracking_v2_oil_graph.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 Patch UK Energy Tracking V2 Oil Graph (workflow run)
Used by
none found
Produces
none declared
Defines here
patch-uk-energy-tracking-v2-oil-graph
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/patch_uk_energy_tracking_v2_oil_graph.yml:1-40 · blob 3783977394c71a30762de869815c786d52addd17 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: patch-uk-energy-tracking-v2-oil-graph

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: ${{ secrets.GRIDBOT_PAT }}

      - name: Setup Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Apply V2 oil graph patch
        run: python scripts/patch_uk_energy_tracking_v2_oil_graph.py

      - name: Commit patched V2 tracker
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"
          git add uk_energy_tracking_v2/index.md
          git add gridbot_reports/patch_uk_energy_tracking_v2_oil_graph.md
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Patch UK energy tracking V2 oil graph"
            git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
          else
            echo "No changes to commit"
          fi

GlobalGrid2050 Patch UK Energy Tracking V2 Transport Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_uk_energy_tracking_v2_transport.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 GlobalGrid2050 Patch UK Energy Tracking V2 Transport (`scripts/patch_uk_energy_tracking_v2_transport.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 Patch UK Energy Tracking V2 Transport (workflow run)
Used by
none found
Produces
none declared
Defines here
patch_uk_energy_tracking_v2_transport
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/patch_uk_energy_tracking_v2_transport.yml:1-41 · blob 72a0249467cdd86e416527450c9b1fba5ff3acf4 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: patch_uk_energy_tracking_v2_transport

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          token: ${{ secrets.GRIDBOT_PAT }}

      - name: Setup Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.11'

      - name: Apply V2 transport patch
        run: python scripts/patch_uk_energy_tracking_v2_transport.py

      - name: Commit V2 transport changes
        env:
          PAT: ${{ secrets.GRIDBOT_PAT }}
        run: |
          git config --global user.name "gridbot"
          git config --global user.email "bot@globalgrid2050.com"
          git add uk_energy_tracking_v2
          git add scripts/patch_uk_energy_tracking_v2_transport.py
          git add gridbot_reports/patch_uk_energy_tracking_v2_transport.md
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Patch UK energy tracking V2 transport layer"
            git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
          else
            echo "No V2 transport changes to commit"
          fi

GlobalGrid2050 Patch V3 Price Axis Table Fullscreen Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_axis_table_fullscreen.yml · lines 1–20 of 20 · 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 'price'): 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 Patch V3 Price Axis Table Fullscreen (`scripts/patch_v3_price_axis_table_fullscreen.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 Patch V3 Price Axis Table Fullscreen (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price axis table fullscreen
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/patch_v3_price_axis_table_fullscreen.yml:1-20 · blob e73986ee414cc932f2c65e0b6de50cfb1bca14e6 · 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: Patch V3 price axis table fullscreen

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: python scripts/patch_v3_price_axis_table_fullscreen.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.css uk_energy_tracking_v3/price-history-ui.js uk_energy_tracking_v3/price-history-fullscreen.js uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet || git commit -m "Patch V3 price axis table fullscreen"
          git pull --rebase origin main
          git push origin HEAD:main

GlobalGrid2050 Patch V3 Price History Correctness Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_history_correctness.yml · lines 1–23 of 23 · 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 'price'): 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 Patch V3 Price History Correctness (`scripts/patch_v3_price_history_correctness.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 Patch V3 Price History Correctness (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price history correctness
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/patch_v3_price_history_correctness.yml:1-23 · blob 95fb6754e98be8d42f55668fcd1343825c442936 · 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: Patch V3 price history correctness

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - run: python scripts/patch_v3_price_history_correctness.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.js uk_energy_tracking_v3/price-history-ui.css uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet && exit 0
          git commit -m "Patch V3 price history correctness"
          git pull --rebase origin main
          git push origin HEAD:main

GlobalGrid2050 Patch V3 Price History Date Window Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_history_date_window.yml · lines 1–19 of 19 · 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 'price'): 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 Patch V3 Price History Date Window (`scripts/patch_v3_price_history_date_window.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 Patch V3 Price History Date Window (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price history date window
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/patch_v3_price_history_date_window.yml:1-19 · blob 8bd64a7651cdeed0403f0d49bfcdbbe5622fdd50 · 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: Patch V3 price history date window

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: python scripts/patch_v3_price_history_date_window.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.css uk_energy_tracking_v3/price-history-ui.js uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet || git commit -m "Patch V3 price history date window"
          git push

GlobalGrid2050 Patch V3 Price History Fullscreen Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_history_fullscreen.yml · lines 1–19 of 19 · 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 'price'): 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 Patch V3 Price History Fullscreen (`scripts/patch_v3_price_history_fullscreen.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 Patch V3 Price History Fullscreen (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price fullscreen
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/patch_v3_price_history_fullscreen.yml:1-19 · blob f5cb8961dce3792ae3a165292573c1625dd538d4 · 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: Patch V3 price fullscreen

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: python scripts/patch_v3_price_history_fullscreen.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.css uk_energy_tracking_v3/price-history-fullscreen.js uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet || git commit -m "Patch V3 price fullscreen"
          git push

GlobalGrid2050 Patch V3 Price History Merge System Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_history_merge_system.yml · lines 1–19 of 19 · 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 'price'): 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
Named “Patch V3 merged price source”; runs GlobalGrid2050 Patch V3 Price History Merge System (`scripts/patch_v3_price_history_merge_system.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 Patch V3 Price History Merge System (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 merged price source
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/patch_v3_price_history_merge_system.yml:1-19 · blob 1741324979917a708b39413676a0840980faf28c · 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: Patch V3 merged price source

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: python scripts/patch_v3_price_history_merge_system.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/price-history-ui.js uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet || git commit -m "Patch V3 merged price source"
          git push

GlobalGrid2050 Patch V3 Price History UI Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_history_ui.yml · lines 1–55 of 55 · 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 'price'): 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 Patch V3 Price History UI (`scripts/patch_v3_price_history_ui.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 Patch V3 Price History UI (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price history UI
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/patch_v3_price_history_ui.yml:1-55 · blob 80659a6502172e0fe3e44ea0ccd80be283ae9ea0 · 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: Patch V3 price history UI

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch-v3-price-history-ui:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository as GridBot
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.GRIDBOT_PAT }}
          fetch-depth: 0

      - name: Configure GridBot identity
        run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"

      - name: Patch V3 price history UI
        run: python scripts/patch_v3_price_history_ui.py

      - name: Validate scoped V3 files only
        run: |
          test -f uk_energy_tracking_v3/index.md
          test -f uk_energy_tracking_v3/price-history-ui.css
          test -f uk_energy_tracking_v3/WORK_DIARY.md
          grep -q 'href="/uk_energy_tracking_v3/price-history-ui.css"' uk_energy_tracking_v3/index.md
          grep -q '#electricity-price-history-panel table.price-history-table' uk_energy_tracking_v3/price-history-ui.css
          ! grep -q "@import url('/uk_energy_tracking_v3/price-history-ui.css')" uk_energy_tracking_v3/index.md
          if git diff --name-only | grep -v -E '^(uk_energy_tracking_v3/index.md|uk_energy_tracking_v3/price-history-ui.css|uk_energy_tracking_v3/WORK_DIARY.md)$'; then
            echo "Unexpected files changed"
            git diff --name-only
            exit 1
          fi

      - name: Commit and push V3 UI patch
        run: |
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.css uk_energy_tracking_v3/WORK_DIARY.md
          if git diff --cached --quiet; then
            echo "No V3 UI changes to commit"
            exit 0
          fi
          git commit -m "Patch V3 price history table UI"
          git pull --rebase origin main
          for attempt in 1 2 3; do
            git push origin HEAD:main && exit 0
            echo "Push failed on attempt ${attempt}, retrying after rebase"
            git pull --rebase origin main
            sleep 5
          done
          exit 1

GlobalGrid2050 Patch V3 Price Lazy Selectors Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_lazy_selectors.yml · lines 1–22 of 22 · 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 'price'): 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 Patch V3 Price Lazy Selectors (`scripts/patch_v3_price_lazy_selectors.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 Patch V3 Price Lazy Selectors (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price lazy selectors
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/patch_v3_price_lazy_selectors.yml:1-22 · blob 2682a072a9156bbe6c8d48678c4bf0b3a9ecb7a4 · 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: Patch V3 price lazy selectors

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - run: python scripts/patch_v3_price_lazy_selectors.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.js uk_energy_tracking_v3/price-history-fullscreen.js uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet || git commit -m "Patch V3 price lazy selectors"
          git pull --rebase origin main
          git push origin HEAD:main

GlobalGrid2050 Patch V3 Price Range Fullscreen Fix Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v3_price_range_fullscreen_fix.yml · lines 1–20 of 20 · 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 'price'): 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 Patch V3 Price Range Fullscreen Fix (`scripts/patch_v3_price_range_fullscreen_fix.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 Patch V3 Price Range Fullscreen Fix (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V3 price range and fullscreen fix
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/patch_v3_price_range_fullscreen_fix.yml:1-20 · blob 601d83c94613964d1df26054267d701a63329902 · 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: Patch V3 price range and fullscreen fix

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: python scripts/patch_v3_price_range_fullscreen_fix.py
      - run: |
          git config user.name "GridBot"
          git config user.email "gridbot@globalgrid2050.com"
          git add uk_energy_tracking_v3/index.md uk_energy_tracking_v3/price-history-ui.css uk_energy_tracking_v3/price-history-ui.js uk_energy_tracking_v3/price-history-fullscreen.js uk_energy_tracking_v3/WORK_DIARY.md
          git diff --cached --quiet || git commit -m "Patch V3 price range and fullscreen fix"
          git pull --rebase origin main
          git push origin HEAD:main

GlobalGrid2050 Patch V4 Live Tracker Modular Structure Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v4_live_tracker_modular_structure.yml · lines 1–72 of 72 · 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 Patch V4 Live Tracker Modular Structure (`scripts/patch_v4_live_tracker_modular_structure.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 Patch V4 Live Tracker Modular Structure (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V4 live tracker modular structure
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/patch_v4_live_tracker_modular_structure.yml:1-72 · blob 7a77cd31828d029db6b0567648d55d148af7d02b · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Patch V4 live tracker modular structure

on:
  workflow_dispatch:
    inputs:
      confirm:
        description: Confirm V4 only modularisation
        required: true
        default: v4_only
        type: choice
        options: [v4_only]
permissions:
  contents: write

jobs:
  patch:
    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'

      - name: Read V3 benchmark diary
        run: |
          test -f uk_energy_tracking_v3/WORK_DIARY.md
          head -n 120 uk_energy_tracking_v3/WORK_DIARY.md

      - name: Read V4 diary
        run: |
          test -f uk_energy_tracking_v4/WORK_DIARY.md
          head -n 160 uk_energy_tracking_v4/WORK_DIARY.md

      - name: Run V4 modular structure patch
        run: python scripts/patch_v4_live_tracker_modular_structure.py

      - name: Validate allowed V4 scope only
        run: |
          git diff --name-only > changed_files.txt
          if grep -v -E '^(uk_energy_tracking_v4/index.md|uk_energy_tracking_v4/live-config.js|uk_energy_tracking_v4/live-helpers.js|uk_energy_tracking_v4/live-gauges.js|uk_energy_tracking_v4/live-transport.js|uk_energy_tracking_v4/live-oil-chart.js|uk_energy_tracking_v4/live-app.js|uk_energy_tracking_v4/WORK_DIARY.md|gridbot_reports/v4_live_tracker_modular_structure.md)$' changed_files.txt; then
            echo "Unexpected files changed"
            cat changed_files.txt
            exit 1
          fi

      - name: Validate protected trackers untouched
        run: |
          if git diff --name-only -- uk_energy_tracking_v3 uk_energy_tracking | grep .; then
            echo "Protected tracker changed"
            git diff --name-only -- uk_energy_tracking_v3 uk_energy_tracking
            exit 1
          fi

      - name: Commit and push with GridBot key
        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/index.md uk_energy_tracking_v4/live-config.js uk_energy_tracking_v4/live-helpers.js uk_energy_tracking_v4/live-gauges.js uk_energy_tracking_v4/live-transport.js uk_energy_tracking_v4/live-oil-chart.js uk_energy_tracking_v4/live-app.js uk_energy_tracking_v4/WORK_DIARY.md gridbot_reports/v4_live_tracker_modular_structure.md
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Patch V4 live tracker modular structure"
            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 modular structure changes to commit"
          fi

GlobalGrid2050 Patch V5 Chart Dynamic Annotations Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v5_chart_dynamic_annotations.yml · lines 1–43 of 43 · 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 Patch V5 Chart Dynamic Annotations (`scripts/patch_v5_chart_dynamic_annotations.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 Patch V5 Chart Dynamic Annotations (workflow run), Price History UI (workflow run), Price History Fullscreen (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V5 Dynamic Chart Annotations
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/patch_v5_chart_dynamic_annotations.yml:1-43 · blob 18e935a8dfce868dfb99640d752fc6a31a245b07 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Patch V5 Dynamic Chart Annotations

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    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'

      - name: Patch V5 dynamic chart annotations
        run: python scripts/patch_v5_chart_dynamic_annotations.py

      - name: Syntax check JavaScript
        run: |
          node --check uk_energy_tracking_v5/price-history-ui.js
          node --check uk_energy_tracking_v5/price-history-fullscreen.js

      - name: Commit patched V5 dynamic chart files
        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/price-history-ui.js uk_energy_tracking_v5/price-history-fullscreen.js uk_energy_tracking_v5/index.md gridbot_reports/patch_v5_chart_dynamic_annotations.md
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Patch V5 dynamic chart annotations"
            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 dynamic chart changes to commit"
          fi

GlobalGrid2050 Patch V5 Chart Overlap Controls Workflow

A GitHub Actions workflow. Runs by hand.

automationglobalgrid2050 / .github/workflows/patch_v5_chart_overlap_controls.yml · lines 1–43 of 43 · 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 Patch V5 Chart Breathing Space (`scripts/patch_v5_chart_breathing_space.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 Patch V5 Chart Breathing Space (workflow run), Price History UI (workflow run), Price History Fullscreen (workflow run)
Used by
none found
Produces
none declared
Defines here
Patch V5 Chart Overlap Controls
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/patch_v5_chart_overlap_controls.yml:1-43 · blob a4484654e715a8b00cf8afcdb4e677a20a110763 · GitHub at these lines
State
achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Patch V5 Chart Overlap Controls

on:
  workflow_dispatch:
permissions:
  contents: write

jobs:
  patch:
    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'

      - name: Patch V5 chart overlap and controls
        run: python scripts/patch_v5_chart_breathing_space.py

      - name: Syntax check JavaScript
        run: |
          node --check uk_energy_tracking_v5/price-history-ui.js
          node --check uk_energy_tracking_v5/price-history-fullscreen.js

      - name: Commit patched V5 files
        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/price-history-ui.js uk_energy_tracking_v5/price-history-fullscreen.js uk_energy_tracking_v5/index.md gridbot_reports/patch_v5_chart_overlap_controls.md
          if [ -n "$(git status --porcelain)" ]; then
            git commit -m "Patch V5 chart overlap and controls"
            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 chart changes to commit"
          fi