feat(ci): Phase 0 D3 — submodule auto-bump PR bot - #277
Merged
Conversation
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>
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 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 everystacks/*submodule pointer to its remote default-branch HEAD and opens one PR with the bumps.stacks/**, sovalidate-shapes.ymlgates the newly-pinned shapes in the superproject before merge.Tokens & idempotency
SUBMODULES_RO_PATfetches the privateHomelab.Stacks.*repos (--remote); the defaultGITHUB_TOKEN(contents + pull-requests write) pushes the branch + opens the PR.automation/bump-stack-submodulesbranch → one open PR, force-updated each run.Phase 0 status — complete
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