governance(auto-release): drop update-website-badge job#574
Merged
Conversation
The job is dead code. KAIHACKS PR #273 (merged) put the version badge on a self-updating path: cultures-map.js reads data.release from available.json on page load and writes both the href and the visible text dynamically. The hardcoded vX.Y.Z patterns the job tried to sed-replace in map/index.html no longer exist there: href="https://github.com/ChBrain/Cultures/releases" (no /tag/v...) >download ↗< (no vX.Y.Z prefix) So on every Cultures release the job currently runs both regex substitutions, matches nothing, has no file changes to commit, and either errors on git commit or opens an empty PR against KAIHACKS. That noise stops once this PR lands. After this change, a Cultures release opens exactly ONE PR against KAIHACKS -- the deliver-available-json job's PR carrying available.json (and groupings.json once that pipeline is live). The badge updates client-side from that same available.json on the next page load, no PR needed. Files: - .github/workflows/auto-release.yml: -65 lines (entire update-website-badge job and its leading comment). Remaining jobs in this workflow are unchanged: - release (cuts the release on main) - deliver-available-json (opens the KAIHACKS PR with manifests) - build-zips (publishes culture/engine/groups zips to the release) - build-pdfs (publishes PDFs to the release) Ref: ChBrain/KAIHACKS#273, ChBrain/KAIHACKS#268 (superseded)
This was referenced May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase B. The
update-website-badgejob inauto-release.ymlis dead code — KAIHACKS PR #273 (merged) put the version badge on a self-updating path:cultures-map.jsreadsdata.releasefromavailable.jsonon page load and writes both the href and the visible text dynamically.Why this is now dead code
The job tries to sed-replace two patterns in
kaihacks.ai/cultures/public_html/map/index.html:But the actual badge line on KAIHACKS
main(post-#273) reads:/tag/vX.Y.ZsuffixvX.Y.ZprefixSo on every Cultures release the job runs, both regexes match nothing, the file is unchanged, and the workflow either errors on
git commit(no changes) or opens an empty PR against KAIHACKS. That noise stops once this PR lands.Result
After this change, a Cultures release opens exactly one PR against KAIHACKS — the
deliver-available-jsonjob's PR carryingavailable.json(andgroupings.jsononce that pipeline is live in production). The badge updates client-side from that sameavailable.jsonon the next page load — no PR needed.Remaining jobs unchanged
releasemaindeliver-available-jsonbuild-zipsbuild-pdfsDiff
-65 lines(entireupdate-website-badgejob + its leading comment block).Verification
python -c "import yaml; yaml.safe_load(open('.github/workflows/auto-release.yml'))"release,deliver-available-json,build-zips,build-pdfs(4/4 expected) ✅python tests/branch_scope.py advisegovernance/<name>(basemain) ✅Ref: ChBrain/KAIHACKS#273, ChBrain/KAIHACKS#268 (superseded)
Generated by Claude Code