Skip to content

ci: publish proto schema to the Buf Schema Registry#627

Merged
lakhansamani merged 2 commits into
mainfrom
ci/buf-push
Jun 14, 2026
Merged

ci: publish proto schema to the Buf Schema Registry#627
lakhansamani merged 2 commits into
mainfrom
ci/buf-push

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Adds a dedicated Buf workflow for the proto/ module
(buf.build/authorizerdev/authorizer):

  • PRs touching proto/**: buf lint + buf breaking (against the published module).
  • Push to main: buf push publishes the schema to the BSR.

Kept out of the Go test/smoke pipeline (ci.yml) so proto concerns stay isolated.
buf de-dupes identical schemas, so non-proto commits are no-ops. Uses the existing
BUF_TOKEN secret. The module is already published (verified), so consumers can codegen via
module: buf.build/authorizerdev/authorizer.

Adds a buf-push job that publishes proto/ to buf.build/authorizerdev/authorizer.
Temporarily triggers on ci/buf-push to verify first publish; will narrow to main.
Lint and breaking-change checks on PRs that touch proto/, and publish the
module to buf.build/authorizerdev/authorizer on push to main. Keeps proto
publishing out of the Go test/smoke pipeline.
@lakhansamani lakhansamani merged commit 7ea42bc into main Jun 14, 2026
3 checks passed
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