In this section
- GlobalGrid2050 Gridbot Sunrise Sunset Time Bands Workflow automation · globalgrid2050 / .github/workflows/gridbot_sunrise_sunset_time_bands.yml lines 1–95
- GlobalGrid2050 Gridbot Sunrise Sunset Visible Attribution Workflow automation · globalgrid2050 / .github/workflows/gridbot_sunrise_sunset_visible_attribution.yml lines 1–91
- GlobalGrid2050 Gridbot V3 Consolidated Price History Workflow automation · globalgrid2050 / .github/workflows/gridbot_v3_consolidated_price_history.yml lines 1–85
- GlobalGrid2050 Gridbot V6 Same Slot Reconciliation Audit Workflow automation · globalgrid2050 / .github/workflows/gridbot_v6_same_slot_reconciliation_audit.yml lines 1–137
- GlobalGrid2050 Homepage Catalogue Workflow automation · globalgrid2050 / .github/workflows/homepage-catalogue.yml lines 1–33
- GlobalGrid2050 Homepage Restore Point Check Workflow automation · globalgrid2050 / .github/workflows/homepage-restore-point-check.yml lines 1–57
- GlobalGrid2050 Inspect Data Science Discipline Workflow automation · globalgrid2050 / .github/workflows/inspect_data_science_discipline.yml lines 1–59
- GlobalGrid2050 Install Solar DC Er Section Workflow automation · globalgrid2050 / .github/workflows/install_solar_dc_er_section.yml lines 1–58
- GlobalGrid2050 Install Solar DC Er Subsections Workflow automation · globalgrid2050 / .github/workflows/install_solar_dc_er_subsections.yml lines 1–53
GlobalGrid2050 Gridbot Sunrise Sunset Time Bands Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/gridbot_sunrise_sunset_time_bands.yml · lines 1–95 of 95 · 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 Gridbot Sunrise Sunset Time Bands (`scripts/gridbot_sunrise_sunset_time_bands.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 Gridbot Sunrise Sunset Time Bands (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- GridBot Sunrise Sunset Time Bands
- 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/gridbot_sunrise_sunset_time_bands.yml:1-95 · blob 05f6c97c8a5b13ecbd9d363782586560d8c72e86 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: GridBot Sunrise Sunset Time Bands
on:
workflow_dispatch:
inputs:
mode:
description: Run mode
required: true
default: audit
type: choice
options:
- audit
- apply
year:
description: Year to fetch, or auto
required: true
default: auto
commit_reports:
description: Commit reports and apply outputs
required: true
default: 'true'
type: choice
options:
- 'true'
- 'false'
permissions:
contents: write
concurrency:
group: gridbot-sunrise-sunset-time-bands
cancel-in-progress: false
jobs:
sunrise-sunset-time-bands:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- name: Sync latest main before processing
run: git pull --ff-only origin main
- name: Run audit
if: ${{ github.event.inputs.mode == 'audit' }}
run: python scripts/gridbot_sunrise_sunset_time_bands.py --year "${{ github.event.inputs.year }}"
- name: Run apply
if: ${{ github.event.inputs.mode == 'apply' }}
run: python scripts/gridbot_sunrise_sunset_time_bands.py --year "${{ github.event.inputs.year }}" --apply
- name: Upload sunrise sunset report
if: always()
uses: actions/upload-artifact@v4
with:
name: sunrise-sunset-time-bands-${{ github.event.inputs.mode }}
path: |
data_science_protocol/audit_reports/SUNRISE_SUNSET_TIME_BANDS_LATEST.md
data_science_protocol/audit_reports/json/SUNRISE_SUNSET_TIME_BANDS_LATEST.json
- name: Commit audit report only
if: ${{ github.event.inputs.commit_reports == 'true' && github.event.inputs.mode == 'audit' }}
run: |
git config user.name "Gridbot"
git config user.email "gridbot@users.noreply.github.com"
git add scripts/gridbot_sunrise_sunset_time_bands.py
git add .github/workflows/gridbot_sunrise_sunset_time_bands.yml
git add data_science_protocol/audit_reports/SUNRISE_SUNSET_TIME_BANDS_LATEST.md
git add data_science_protocol/audit_reports/json/SUNRISE_SUNSET_TIME_BANDS_LATEST.json
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "gridbot: sunrise sunset time bands audit"
git push origin HEAD:main
fi
- name: Commit sunrise sunset output and report
if: ${{ github.event.inputs.commit_reports == 'true' && github.event.inputs.mode == 'apply' }}
run: |
git config user.name "Gridbot"
git config user.email "gridbot@users.noreply.github.com"
git add scripts/gridbot_sunrise_sunset_time_bands.py
git add .github/workflows/gridbot_sunrise_sunset_time_bands.yml
git add uk_energy_tracking_v6/generation_history/sunrise_sunset_time_bands_reference.json
git add data_science_protocol/audit_reports/SUNRISE_SUNSET_TIME_BANDS_LATEST.md
git add data_science_protocol/audit_reports/json/SUNRISE_SUNSET_TIME_BANDS_LATEST.json
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "gridbot: sunrise sunset time bands apply"
git push origin HEAD:main
fiGlobalGrid2050 Gridbot Sunrise Sunset Visible Attribution Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/gridbot_sunrise_sunset_visible_attribution.yml · lines 1–91 of 91 · 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 Gridbot Sunrise Sunset Visible Attribution (`scripts/gridbot_sunrise_sunset_visible_attribution.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 Gridbot Sunrise Sunset Visible Attribution (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- GridBot Sunrise Sunset Visible Attribution
- 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/gridbot_sunrise_sunset_visible_attribution.yml:1-91 · blob bf636387827ce99f491037a264dbb68580807ff7 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: GridBot Sunrise Sunset Visible Attribution
on:
workflow_dispatch:
inputs:
mode:
description: Run mode
required: true
default: audit
type: choice
options:
- audit
- apply
commit_reports:
description: Commit reports and apply outputs
required: true
default: 'true'
type: choice
options:
- 'true'
- 'false'
permissions:
contents: write
concurrency:
group: gridbot-sunrise-sunset-visible-attribution
cancel-in-progress: false
jobs:
attribution:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- name: Sync latest main before processing
run: git pull --ff-only origin main
- name: Run audit
if: ${{ github.event.inputs.mode == 'audit' }}
run: python scripts/gridbot_sunrise_sunset_visible_attribution.py
- name: Run apply
if: ${{ github.event.inputs.mode == 'apply' }}
run: python scripts/gridbot_sunrise_sunset_visible_attribution.py --apply
- name: Upload visible attribution report
if: always()
uses: actions/upload-artifact@v4
with:
name: sunrise-sunset-visible-attribution-${{ github.event.inputs.mode }}
path: |
data_science_protocol/audit_reports/SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.md
data_science_protocol/audit_reports/json/SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.json
- name: Commit audit report only
if: ${{ github.event.inputs.commit_reports == 'true' && github.event.inputs.mode == 'audit' }}
run: |
git config user.name "Gridbot"
git config user.email "gridbot@users.noreply.github.com"
git add scripts/gridbot_sunrise_sunset_visible_attribution.py
git add .github/workflows/gridbot_sunrise_sunset_visible_attribution.yml
git add data_science_protocol/audit_reports/SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.md
git add data_science_protocol/audit_reports/json/SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.json
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "gridbot: sunrise sunset visible attribution audit"
git push origin HEAD:main
fi
- name: Commit visible attribution output and report
if: ${{ github.event.inputs.commit_reports == 'true' && github.event.inputs.mode == 'apply' }}
run: |
git config user.name "Gridbot"
git config user.email "gridbot@users.noreply.github.com"
git add scripts/gridbot_sunrise_sunset_visible_attribution.py
git add .github/workflows/gridbot_sunrise_sunset_visible_attribution.yml
git add uk_energy_tracking_v6/generation_history/index.md
git add data_science_protocol/audit_reports/SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.md
git add data_science_protocol/audit_reports/json/SUNRISE_SUNSET_VISIBLE_ATTRIBUTION_LATEST.json
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "gridbot: sunrise sunset visible attribution apply"
git push origin HEAD:main
fiGlobalGrid2050 Gridbot V3 Consolidated Price History Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/gridbot_v3_consolidated_price_history.yml · lines 1–85 of 85 · 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 Gridbot V3 Diary Preflight (`scripts/gridbot_v3_diary_preflight.py`), GlobalGrid2050 Patch V3 Price History Correctness (`scripts/patch_v3_price_history_correctness.py`) and 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 Gridbot V3 Diary Preflight (workflow run), GlobalGrid2050 Patch V3 Price History Correctness (workflow run), GlobalGrid2050 Patch V3 Price History Fullscreen (workflow run), GlobalGrid2050 Patch V3 Price History Merge System (workflow run), GlobalGrid2050 Patch V3 Price History Date Window (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- GridBot V3 consolidated price history
- 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/gridbot_v3_consolidated_price_history.yml:1-85 · blob 0d87da5c62f8f64d34f127e984f258f3042e9bc1 · 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: GridBot V3 consolidated price history
on:
workflow_dispatch:
inputs:
feature:
description: V3 patch to run after diary preflight
required: true
default: date_window
type: choice
options:
- correctness
- fullscreen
- merge_system
- date_window
- all_safe
permissions:
contents: write
concurrency:
group: gridbot-v3-price-history
cancel-in-progress: false
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure GridBot
run: |
git config user.name "GridBot"
git config user.email "gridbot@globalgrid2050.com"
- name: Read diary first
run: |
test -f uk_energy_tracking_v3/WORK_DIARY.md
head -n 80 uk_energy_tracking_v3/WORK_DIARY.md
- name: Commit diary preflight first
run: |
echo "${{ github.event.inputs.feature }}" > gridbot_feature_choice.txt
python scripts/gridbot_v3_diary_preflight.py
rm gridbot_feature_choice.txt
git add uk_energy_tracking_v3/WORK_DIARY.md
git diff --cached --quiet || git commit -m "GridBot V3 diary preflight"
- name: Run selected V3 patch
run: |
feature="${{ github.event.inputs.feature }}"
if [ "$feature" = "correctness" ]; then
python scripts/patch_v3_price_history_correctness.py
elif [ "$feature" = "fullscreen" ]; then
python scripts/patch_v3_price_history_fullscreen.py
elif [ "$feature" = "merge_system" ]; then
python scripts/patch_v3_price_history_merge_system.py
elif [ "$feature" = "date_window" ]; then
python scripts/patch_v3_price_history_date_window.py
elif [ "$feature" = "all_safe" ]; then
python scripts/patch_v3_price_history_correctness.py
python scripts/patch_v3_price_history_fullscreen.py
python scripts/patch_v3_price_history_merge_system.py
python scripts/patch_v3_price_history_date_window.py
else
echo "Unknown feature: $feature"
exit 1
fi
- name: Validate V3 scope
run: |
git diff --name-only > changed_files.txt
if grep -v -E '^(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)$' changed_files.txt; then
echo "Unexpected files changed"
cat changed_files.txt
exit 1
fi
- name: Commit selected V3 patch
run: |
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 "GridBot V3 price history patch"
- name: Push with rebase retry
run: |
for attempt in 1 2 3 4 5; do
git pull --rebase origin main && git push origin HEAD:main && exit 0
echo "Push attempt ${attempt} failed"
sleep 5
done
exit 1GlobalGrid2050 Gridbot V6 Same Slot Reconciliation Audit Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/gridbot_v6_same_slot_reconciliation_audit.yml · lines 1–137 of 137 · Entry point
- What it does
- It runs solar and wind. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain terms in the code: solar, wind.
- 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 Gridbot V6 Same Slot Reconciliation Audit (`scripts/gridbot_v6_same_slot_reconciliation_audit.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 Gridbot V6 Same Slot Reconciliation Audit (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- GridBot V6 Same Slot Reconciliation Audit
- 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/gridbot_v6_same_slot_reconciliation_audit.yml:1-137 · blob 2393a07fca353664b3b8d822e1db6eb1245d06d1 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: GridBot V6 Same Slot Reconciliation Audit
on:
workflow_dispatch:
inputs:
date:
description: Slot date YYYY-MM-DD
required: true
default: '2026-06-14'
time:
description: Displayed slot start time HH:MM
required: true
default: '18:00'
timezone:
description: Timezone for displayed slot
required: true
default: Europe/London
benchmark_price:
description: Optional benchmark price GBP/MWh
required: false
default: '119.58'
benchmark_carbon:
description: Optional benchmark carbon g/kWh
required: false
default: '118'
benchmark_demand:
description: Optional benchmark demand GW
required: false
default: '24.76'
benchmark_solar:
description: Optional benchmark solar GW
required: false
default: '4.19'
benchmark_wind:
description: Optional benchmark wind GW
required: false
default: '5.49'
benchmark_hydro:
description: Optional benchmark hydro GW
required: false
default: '0.49'
benchmark_gas:
description: Optional benchmark gas GW
required: false
default: '4.90'
benchmark_coal:
description: Optional benchmark coal GW
required: false
default: '0.00'
benchmark_biomass:
description: Optional benchmark biomass GW
required: false
default: '3.02'
benchmark_nuclear:
description: Optional benchmark nuclear GW
required: false
default: '2.99'
benchmark_pumped_storage:
description: Optional benchmark pumped storage GW
required: false
default: '0.14'
benchmark_imports_exports:
description: Optional benchmark imports and exports GW
required: false
default: '5.94'
commit_reports:
description: Commit audit report
required: true
default: 'true'
type: choice
options:
- 'true'
- 'false'
permissions:
contents: write
concurrency:
group: gridbot-v6-same-slot-reconciliation-audit
cancel-in-progress: false
jobs:
audit:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- name: Sync latest main
run: git pull --ff-only origin main
- name: Run same slot reconciliation audit
run: |
python scripts/gridbot_v6_same_slot_reconciliation_audit.py \
--date "${{ github.event.inputs.date }}" \
--time "${{ github.event.inputs.time }}" \
--timezone "${{ github.event.inputs.timezone }}" \
--benchmark-price "${{ github.event.inputs.benchmark_price }}" \
--benchmark-carbon "${{ github.event.inputs.benchmark_carbon }}" \
--benchmark-demand "${{ github.event.inputs.benchmark_demand }}" \
--benchmark-solar "${{ github.event.inputs.benchmark_solar }}" \
--benchmark-wind "${{ github.event.inputs.benchmark_wind }}" \
--benchmark-hydro "${{ github.event.inputs.benchmark_hydro }}" \
--benchmark-gas "${{ github.event.inputs.benchmark_gas }}" \
--benchmark-coal "${{ github.event.inputs.benchmark_coal }}" \
--benchmark-biomass "${{ github.event.inputs.benchmark_biomass }}" \
--benchmark-nuclear "${{ github.event.inputs.benchmark_nuclear }}" \
--benchmark-pumped-storage "${{ github.event.inputs.benchmark_pumped_storage }}" \
--benchmark-imports-exports "${{ github.event.inputs.benchmark_imports_exports }}"
- name: Upload audit reports
if: always()
uses: actions/upload-artifact@v4
with:
name: v6-same-slot-reconciliation-audit
path: |
data_science_protocol/audit_reports/V6_SAME_SLOT_RECONCILIATION_AUDIT_LATEST.md
data_science_protocol/audit_reports/json/V6_SAME_SLOT_RECONCILIATION_AUDIT_LATEST.json
- name: Commit audit reports
if: ${{ github.event.inputs.commit_reports == 'true' }}
run: |
git config user.name "Gridbot"
git config user.email "gridbot@users.noreply.github.com"
git add scripts/gridbot_v6_same_slot_reconciliation_audit.py
git add .github/workflows/gridbot_v6_same_slot_reconciliation_audit.yml
git add data_science_protocol/audit_reports/V6_SAME_SLOT_RECONCILIATION_AUDIT_LATEST.md
git add data_science_protocol/audit_reports/json/V6_SAME_SLOT_RECONCILIATION_AUDIT_LATEST.json
if git diff --cached --quiet; then
echo "No audit changes to commit."
else
git commit -m "gridbot: v6 same slot reconciliation audit"
git push origin HEAD:main
fiGlobalGrid2050 Homepage Catalogue Workflow
A GitHub Actions workflow. Runs on push and by hand.
automationglobalgrid2050 / .github/workflows/homepage-catalogue.yml · lines 1–33 of 33 · 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 Check Homepage Catalogue (`scripts/check_homepage_catalogue.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 Check Homepage Catalogue (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Homepage catalogue reconciles
- 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/homepage-catalogue.yml:1-33 · blob 94f985765b02012d7066ed70a2655bcf7c04c7c7 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Homepage catalogue reconciles
# The homepage is a table generated from the tree and git: a GlobalGrid2050
# reference (UTC stamp-name) and an independent git reference (tree hash) per
# version. This re-derives every tree hash from git ON LINUX and fails if any
# committed barcode differs, any relative link no longer resolves, or a family
# has more than one current release. A Windows checkout once held 3,555 files
# whose bytes differed from the blobs git serves; this is the check that a
# catalogue generated anywhere still reconciles with what ships.
on:
push:
branches: [main]
paths:
- 'index.html'
- 'catalogue/**'
- 'scripts/build_homepage_catalogue.py'
- 'scripts/check_homepage_catalogue.py'
- '.github/workflows/homepage-catalogue.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
reconcile:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python3 scripts/check_homepage_catalogue.pyGlobalGrid2050 Homepage Restore Point Check Workflow
A GitHub Actions workflow. Runs on push and by hand.
automationglobalgrid2050 / .github/workflows/homepage-restore-point-check.yml · lines 1–57 of 57 · 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 Measure Homepage Version (`scripts/measure_homepage_version.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 Measure Homepage Version (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Homepage restore point check
- 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/homepage-restore-point-check.yml:1-57 · blob 7cf4f2bd308c3c0a177a66af6b71592c944d09d2 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Homepage restore point check
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'uk_renewables_pipeline/20*/index.html'
permissions:
contents: read
jobs:
restore-point-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check homepage version files exist
run: |
test -f index.html
test -f homepage_versions/README.md
test -f homepage_versions/homepage_v001.html
test -f scripts/measure_homepage_version.py
- name: Measure homepage files
run: |
mkdir -p homepage_restore_report
python3 scripts/measure_homepage_version.py \
index.html \
homepage_versions/homepage_v001.html \
how_to_work_with_globalgrid2050/index.html \
> homepage_restore_report/homepage_metrics.json
- name: Count homepage version folder
run: |
{
echo "# Homepage restore point check"
echo
echo "Generated: $(date -u +'%Y-%m-%dT%H:%M:%SZ')"
echo
echo "## Files in homepage_versions"
find homepage_versions -maxdepth 1 -type f | sort
echo
echo "## File count"
find homepage_versions -maxdepth 1 -type f | wc -l
echo
echo "## SHA-256"
sha256sum index.html homepage_versions/homepage_v001.html how_to_work_with_globalgrid2050/index.html
} > homepage_restore_report/homepage_restore_report.md
- name: Upload restore report artifact
uses: actions/upload-artifact@v4
with:
name: homepage-restore-point-report
path: homepage_restore_report/GlobalGrid2050 Inspect Data Science Discipline Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/inspect_data_science_discipline.yml · lines 1–59 of 59 · 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 Inspect Data Science Discipline (`scripts/inspect_data_science_discipline.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 Inspect Data Science Discipline (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Inspect Data Science Discipline
- 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/inspect_data_science_discipline.yml:1-59 · blob cfe36044149e75e5478a12de595ff8d8b30b9929 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: Inspect Data Science Discipline
on:
workflow_dispatch:
inputs:
fail_on_action:
description: Fail the workflow if files exceed the action threshold
required: false
default: 'false'
type: choice
options:
- 'false'
- 'true'
permissions:
contents: write
concurrency:
group: inspect-data-science-discipline
cancel-in-progress: true
jobs:
inspect:
runs-on: ubuntu-latest
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: Run data science discipline inspection
env:
GITHUB_REPOSITORY: ${{ github.repository }}
DATASCIENCE_WARN_FILE_MB: '5'
DATASCIENCE_ACTION_FILE_MB: '25'
DATASCIENCE_HARD_FILE_MB: '100'
DATASCIENCE_FAIL_ON_ACTION: ${{ github.event.inputs.fail_on_action || 'false' }}
run: python scripts/inspect_data_science_discipline.py
- name: Commit inspection reports and changelog
shell: bash
run: |
set -euo pipefail
git config --global user.name "Gridbot"
git config --global user.email "gridbot@globalgrid2050.com"
git add data_science_protocol/DATA_SCIENCE_DISCIPLINE_CHANGELOG.md
git add data_science_protocol/inspection_reports/
if git diff --cached --quiet; then
echo "No data science inspection changes to commit"
exit 0
fi
git commit -m "docs: update data science discipline inspection"
git pull --rebase origin main
git push origin HEAD:mainGlobalGrid2050 Install Solar DC Er Section Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/install_solar_dc_er_section.yml · lines 1–58 of 58 · Entry point
- What it does
- It runs solar. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'dc'): 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.
- 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 Gridbot Insert Markdown Section (`scripts/gridbot_insert_markdown_section.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 Gridbot Insert Markdown Section (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Install Solar DC ER Section
- 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/install_solar_dc_er_section.yml:1-58 · blob e3799056b2a2ce5a8199227e5b02a49547c2a6f9 · 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: Install Solar DC ER Section
on:
workflow_dispatch:
inputs:
target:
description: Target markdown file
required: true
default: employers_requirments_large_scale_solar/index.md
fragment:
description: Staged DC section fragment
required: true
default: content_fragments/employers_requirements_large_scale_solar/dc_string_and_dc_cable_system_requirements_v1.md
contents:
description: Replacement contents list
required: true
default: content_fragments/employers_requirements_large_scale_solar/contents_with_dc_section_v1.md
marker:
description: Insert before this existing heading
required: true
default: '# 5. Behaviour of Direct Current Systems'
permissions:
contents: write
jobs:
install-solar-dc-er-section:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Run installer
shell: bash
run: |
python scripts/gridbot_insert_markdown_section.py \
--target "${{ github.event.inputs.target }}" \
--fragment "${{ github.event.inputs.fragment }}" \
--new-contents "${{ github.event.inputs.contents }}" \
--marker "${{ github.event.inputs.marker }}" \
--backup-dir "backups/employers_requirments_large_scale_solar" \
--report-dir "gridbot_reports"
- 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 .
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Install solar DC employer requirements section"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fiGlobalGrid2050 Install Solar DC Er Subsections Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/install_solar_dc_er_subsections.yml · lines 1–53 of 53 · Entry point
- What it does
- It runs solar. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage sub33kv_design (path word 'dc'): 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.
- 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 Gridbot Insert DC Subsections (`scripts/gridbot_insert_dc_subsections.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 Gridbot Insert DC Subsections (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Install Solar DC ER Subsections
- 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/install_solar_dc_er_subsections.yml:1-53 · blob 6f29f8059991b5a6620c50e5e99057fcc35d17c9 · 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: Install Solar DC ER Subsections
on:
workflow_dispatch:
inputs:
target:
description: Target markdown file
required: true
default: employers_requirments_large_scale_solar/index.md
material_fragment:
description: DC material life subsection fragment
required: true
default: content_fragments/employers_requirements_large_scale_solar/dc_material_life_subsection_v1.md
duct_fragment:
description: DC duct congestion subsection fragment
required: true
default: content_fragments/employers_requirements_large_scale_solar/dc_duct_congestion_subsection_v1.md
permissions:
contents: write
jobs:
install-solar-dc-er-subsections:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GRIDBOT_PAT }}
- name: Run installer
shell: bash
run: |
python scripts/gridbot_insert_dc_subsections.py \
--target "${{ github.event.inputs.target }}" \
--material-fragment "${{ github.event.inputs.material_fragment }}" \
--duct-fragment "${{ github.event.inputs.duct_fragment }}" \
--backup-dir "backups/employers_requirments_large_scale_solar" \
--report-dir "gridbot_reports"
- 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 .
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Install solar DC employer requirements subsections"
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No changes to commit"
fi