Skip to content

feat(ci): Phase 0 D3 — submodule auto-bump PR bot - #277

Merged
ChrisonSimtian merged 1 commit into
mainfrom
feat/phase0-autobump-bot
Jul 20, 2026
Merged

feat(ci): Phase 0 D3 — submodule auto-bump PR bot#277
ChrisonSimtian merged 1 commit into
mainfrom
feat/phase0-autobump-bot

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Collaborator

Phase 0, Deliverable 3 (final) of the stack-extraction epic (#272), per ADR-0008.

What

.github/workflows/bump-stack-submodules.yml — a weekly (+ workflow_dispatch) bot that advances every stacks/* submodule pointer to its remote default-branch HEAD and opens one PR with the bumps.

  • Turns submodule drift into a reviewable PR — the exact stale-pointer trap we hit by hand this session.
  • Removes the manual "second PR" after a stack repo merges its own change.
  • The bump PR touches stacks/**, so validate-shapes.yml gates the newly-pinned shapes in the superproject before merge.

Tokens & idempotency

  • SUBMODULES_RO_PAT fetches the private Homelab.Stacks.* repos (--remote); the default GITHUB_TOKEN (contents + pull-requests write) pushes the branch + opens the PR.
  • Fixed automation/bump-stack-submodules branch → one open PR, force-updated each run.

Phase 0 status — complete

Deliverable PR
D1 Schema + portable validator #274 ✅ merged
D2 Opt-in reusable validate action #276
D3 Submodule auto-bump bot this

With these merged, Phase 0 is done and stack extraction (SmartHome, BuildLab — Phase 1) is unblocked. Also filed #275 (move the interim hand-rolled release to native Fallout publish).

Refs #272.

🤖 Generated with Claude Code

Weekly (+ on-demand) advances every stacks/* submodule pointer to its remote
default-branch HEAD and opens ONE PR with the bumps. Turns submodule drift into
a reviewable PR (the stale-pointer trap we hit by hand) and removes the manual
"second PR" after a stack repo merges. The bump PR touches stacks/**, so
validate-shapes.yml gates the newly-pinned shapes before merge.

- SUBMODULES_RO_PAT fetches the private stack repos; the default GITHUB_TOKEN
  (contents + pull-requests write) pushes the branch + opens the PR.
- Idempotent: a fixed automation/bump-stack-submodules branch, one open PR.

Completes Phase 0. Refs #272.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisonSimtian
ChrisonSimtian merged commit 1d16d41 into main Jul 20, 2026
@ChrisonSimtian
ChrisonSimtian deleted the feat/phase0-autobump-bot branch July 20, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant