Add PR build testing and auto-merge for dependency PRs - #76
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR introduces PR-time container build verification and enables auto-merge for dependency-update PRs so broken SDK/JDK bumps are caught before merging and deployment.
Changes:
- Adds a new PR workflow (
build.yml) that builds the container across all JDK variants and publishes a stable gate check named All builds passed. - Updates
check-sdk-updates.ymlto require and useAUTOMERGE_PAT, and enables GitHub auto-merge on the workflow-generated PRs. - Adds/records design + implementation plan documentation for the workflow/ruleset approach.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/build.yml |
New PR build matrix workflow with stable “All builds passed” gate check. |
.github/workflows/check-sdk-updates.yml |
Uses AUTOMERGE_PAT and enables auto-merge for the SDK/JDK update PR. |
docs/superpowers/specs/2026-08-04-pr-build-automerge-design.md |
Design spec for PR builds + auto-merge + ruleset. |
docs/superpowers/plans/2026-08-05-pr-build-automerge.md |
Implementation plan describing the workflow/ruleset changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ding Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <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.
Summary
build.ymlworkflow: builds all JDK variants from matrix.json on every PR (push: false), gated by a single stable check named All builds passedcheck-sdk-updates.ymlnow uses theAUTOMERGE_PATsecret (defaultGITHUB_TOKENPRs never trigger workflows) and enables auto-merge on its PRsdocs/superpowers/specs/2026-08-04-pr-build-automerge-design.mdFollow-up (manual, after this merges)
mainrequires All builds passed (created via API as part of this work)AUTOMERGE_PAT🤖 Generated with Claude Code