Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add workflow to publish proto (#17871)

ecmadao8c424f5a832c
diff --git a/.github/workflows/proto-push-bsr.yml b/.github/workflows/proto-push-bsr.yml
new file mode 100644
index 0000000000..e67c5e5530
--- /dev/null
+++ b/.github/workflows/proto-push-bsr.yml
@@ -0,0 +1,30 @@
+name: Proto push to BSR
+
+on:
+ push:
+ branches:
+ - 'main'
+ paths:
+ - 'proto/**'
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+jobs:
+ push-protos:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v5
+ with:
+ fetch-depth: 0
+ - name: Setup buf
+ uses: bufbuild/buf-setup-action@v1
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ - name: Push to BSR
+ working-directory: proto
+ env:
+ BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
+ run: buf push