Skip to content

ci: publish native beta pins automatically after green checks - #24

Merged
frahlg merged 2 commits into
mainfrom
codex/ha-automatic-beta-publication
Oct 21, 2026
Merged

frahlg merged 2 commits into
mainfrom
codex/ha-automatic-beta-publication

Conversation

@frahlg

@frahlg frahlg commented Oct 21, 2026

Copy link
Copy Markdown
Member

New native FTW betas currently create a Home Assistant pin PR that needs a manual merge. The pin workflow now verifies the bot PR, waits for all seven Check jobs on its exact commit, and merges it automatically. That makes each published beta available through Supervisor without another manual step.

Publication accepts only a same-repository bot PR to main whose three pin files exactly match a change regenerated from the public native receipt and checksum files. It refuses extra edits, stale heads, downgrades and failed or skipped checks. If main moves, it updates the branch and tests again. It explicitly starts Check on main after merging because GITHUB_TOKEN merges do not trigger push workflows.

Validation: 180 offline tests pass, including real git diff fixtures for valid pins and tampered Dockerfile/config/changelog, plus missing/failed/skipped jobs, wrong commits, caller checks and merge SHA matching. Repository validation and Python compilation pass. GitHub CI also builds and smoke-tests both architectures.

This publishes updates to the HA store. Each user's Supervisor Auto update setting still controls installation.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T14:43:53.972858Z e267f50 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@frahlg
frahlg merged commit f7ada30 into main Oct 21, 2026
7 checks passed
@frahlg
frahlg deleted the codex/ha-automatic-beta-publication branch October 21, 2026 14:44
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