Skip to content

Use the shared CI workflows - #129

Open
TrevorSchirmer wants to merge 2 commits into
mainfrom
shared-ci-callers
Open

TrevorSchirmer wants to merge 2 commits into
mainfrom
shared-ci-callers

Conversation

@TrevorSchirmer

@TrevorSchirmer TrevorSchirmer commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Version: 26.10.12.1

What does this implement/fix?

Moves this repo's duplicated CI onto the shared workflows in ApolloAutomation/Workflows and ApolloAutomation/.github. Only .github/ files change.

  • Beta builds use the shared workflow. build-beta.yml is now a short caller of Workflows/build-beta.yml@main. The variants and the files devices fetch (manifest-standard.json, manifest-ble.json) are unchanged. It gains the hardening some repos lacked: beta-only publish, newer-commit check, files checked before upload, safe cleanup, and the beta-fw tag move.
  • Release notes use the org config in ApolloAutomation/.github; the local copy is deleted. Where this branch still had the older format, notes switch to the one most beta branches already use (bold "What's Changed", category headings, no star footer).

Merge after ApolloAutomation/Workflows#39 and ApolloAutomation/.github#1. Before that, the next beta build fails and the next release fails at Set Version.

Supersedes dependabot PR #121: action pins now live in Workflows.

Testing

  • actionlint is clean. tester-hard compared it against the workflow it replaces: same variants, manifest file names (checked against ota_beta_manifest and the live beta-fw assets), triggers and permissions.
  • The shared workflow was dry-run live on PUMP-1 and CAST-1 (see Shared beta build, beta version check and stable Pages publish guard Workflows#39). This caller first runs on the next beta firmware push after merge.

Types of changes

  • Bugfix (fixed change that fixes an issue)
  • New feature (thanks!)
  • Breaking change (repair/feature that breaks existing functionality)
  • Dependency Update - Does not publish
  • Other - Does not publish
  • Website of github readme file update - Does not publish
  • Github workflows - Does not publish

Checklist / Checklijst:

  • The code change has been tested and works locally
  • The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:

  • Added/updated documentation for the web page

Summary by CodeRabbit

  • Release Process
    • Beta builds now produce both standard and BLE variants when relevant ESPHome integration files or the beta build workflow change. Manual beta build requests remain available.
    • Beta build publishing now follows a shared workflow, replacing the previous project-specific release steps.
  • Chores
    • The previous release-note template and category configuration has been removed.

Replace the inline beta build with a thin caller of
ApolloAutomation/Workflows build-beta.yml@main. Variants, manifest
names and asset prefixes stay the same (standard, ble). Pushes that
only touch this file now rebuild too.
Drop the per-repo copy so release-drafter v7 falls back to
ApolloAutomation/.github. The org file has the same content apart
from a header comment and one blank line.
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The beta workflow now delegates builds and beta-release publishing to a reusable workflow, with standard and BLE variants. The release-drafter configuration file was also removed.

Changes

Beta Workflow

Layer / File(s) Summary
Beta workflow trigger and reusable call
.github/workflows/build-beta.yml
Push triggers now include changes to the workflow file, while manual dispatch remains available. The workflow calls a reusable workflow with standard and BLE variant inputs. The inline version, build, and beta-release jobs are no longer defined here.

Release Drafter Configuration

Layer / File(s) Summary
Release-drafter configuration removal
.github/release-drafter.yml
The release and change templates, sorting setting, categories, labels, and no-changes message were removed with the configuration file.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Refactor

Possibly related PRs

Suggested labels: github_actions

Suggested reviewers: bharvey88, westwardwinds, bunton33

Merge Risk: Low · up to a0fec

This moves beta firmware builds and release publishing to shared workflows and removes the local release-notes config. If merged before the two dependency PRs, the next beta build and release will fail. Merge after the dependencies land and watch the first beta run.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Use the shared CI workflows" matches the main change. The PR replaces duplicated CI logic in the beta build workflow with a reusable workflow call to the shared ApolloAutomation Workflows r…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Use the shared CI workflows" matches the main change. The PR replaces duplicated CI logic in the beta build workflow with a reusable workflow call to the shared ApolloAutomation Workflows repository, and deletes the local release-drafter configuration in favor of the organization config. The title is specific and short, and it names the primary change from the developer's perspective.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the beta run,
Two firmware paths go hop by hop.
The shared workflow takes the call,
Old release notes leave the hall.
I nibble greens and watch it roll.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4a661605-2314-4186-9d25-65b7c56085b6
Commits

Reviewing files that changed from the base of the PR and between 27cc55a and a0fecdd.

Files selected for processing: 2

  • .github/release-drafter.yml
  • .github/workflows/build-beta.yml
Files with no reviewable changes: 1

  • .github/release-drafter.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

This branch has not been deployed

No deployments
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.

3 participants