ci: add Buf Schema Registry publishing workflow#320
Conversation
Add CI workflow that lints and pushes protobuf definitions to buf.build/kiichain/kiichain on tagged releases (v*). Uses the existing proto/buf.yaml module config. Requires a BUF_TOKEN repository secret for authentication.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 18 minutes and 11 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
Adds a release-tag-triggered GitHub Actions workflow to lint and publish the repository’s proto/ Buf module to the Buf Schema Registry (BSR), supporting automated protobuf distribution on versioned releases.
Changes:
- Add a new GitHub Actions workflow that runs on
v*tag pushes tobuf lintandbuf push --tag ${{ github.ref_name }}fromproto/. - Add an Unreleased changelog entry noting the new Buf/BSR publishing CI.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/buf-publish.yml |
Introduces CI workflow to lint and publish the proto/ Buf module to BSR on version tag pushes. |
CHANGELOG.md |
Documents the addition of the Buf publishing workflow under Unreleased. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ### Added | ||
|
|
||
| - Add Buf Schema Registry publishing CI that pushes protobuf profiles to buf.build on tagged releases (#63) |
There was a problem hiding this comment.
The changelog entry says this workflow pushes “protobuf profiles”, but the workflow/Buf terminology here is publishing the proto/ Buf module (protobuf definitions) to the Buf Schema Registry. Consider rewording this entry to avoid confusion for release note readers (e.g., “publishes protobuf definitions / Buf module to buf.build on tagged releases”).
| - Add Buf Schema Registry publishing CI that pushes protobuf profiles to buf.build on tagged releases (#63) | |
| - Add Buf Schema Registry publishing CI that publishes protobuf definitions (the `proto/` Buf module) to buf.build on tagged releases (#63) |
|
Hi @jhelison — friendly ping! This PR is ready for review whenever you have a moment. All CI checks are passing. Happy to address any feedback. Thanks! |
|
Hey @Thaleszh, would love to get your eyes on this when you have a moment. Thanks! |
Summary
Adds a GitHub Actions workflow that automatically lints and publishes protobuf definitions to the Buf Schema Registry whenever a version tag (
v*) is pushed.Closes #63
What this does
v*tag push (e.g.v7.2.0)buf lintagainstproto/before publishingbuf.build/kiichain/kiichainusing the existingproto/buf.yamlmodule configv7.2.0)BUF_TOKENrepository secret (generated from buf.build settings)Setup required
A maintainer needs to:
BUF_TOKENFiles changed
.github/workflows/buf-publish.ymlCHANGELOG.md