Skip to content

ci: update Homebrew tap after release - #271

Merged
robjtede merged 1 commit into
mainfrom
ci/homebrew-tap-updates
Aug 11, 2026
Merged

ci: update Homebrew tap after release#271
robjtede merged 1 commit into
mainfrom
ci/homebrew-tap-updates

Conversation

@robjtede

@robjtede robjtede commented Aug 11, 2026

Copy link
Copy Markdown
Member

Adds a release-published workflow that creates a scoped x52dev/homebrew-tap App token and opens a formula-update PR after each release.

The workflow derives the version from protobug’s package-prefixed release tags. It also refreshes the x52dev/nix lock input because the prior revision did not provide x52-update-homebrew-tap.

Validated with actionlint and nix flake check path:.

Summary by CodeRabbit

  • New Features
    • Added automated Homebrew formula updates whenever a new release is published.
    • Homebrew users can now install the latest release through the tap without manual formula updates.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 41d70dd3-9ed3-4009-83f6-15c08f0e4e47

📥 Commits

Reviewing files that changed from the base of the PR and between ccddf2e and fbd95cb.

⛔ Files ignored due to path filters (1)
  • flake.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • .github/workflows/update-homebrew-tap.yml

📝 Walkthrough

Walkthrough

The pull request adds a release-triggered GitHub Actions workflow. The workflow prepares the Nix release environment, authenticates with the Homebrew tap repository, checks out the tap, and updates the protobug formula from the release tag.

Changes

Homebrew tap automation

Layer / File(s) Summary
Release workflow setup
.github/workflows/update-homebrew-tap.yml
The workflow runs for published releases in the x52dev repository. It checks out the source, installs Nix, and enters the CI release devshell.
Tap update execution
.github/workflows/update-homebrew-tap.yml
The workflow creates a GitHub App token, checks out x52dev/homebrew-tap, and runs x52-update-homebrew-tap for protobug using the release tag version.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the workflow that updates the Homebrew tap after a release.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/homebrew-tap-updates

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

Comment @coderabbitai help to get the list of available commands.

@robjtede
robjtede marked this pull request as ready for review August 11, 2026 02:01
@robjtede
robjtede merged commit 073f9e4 into main Aug 11, 2026
14 of 15 checks passed
@robjtede
robjtede deleted the ci/homebrew-tap-updates branch August 11, 2026 02:03
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