Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/build-and-publish-protos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: build-and-publish-protos
on:
pull_request:
paths:
- 'common-components/proto/**/*.proto'
jobs:
build-and-publish-protos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: bufbuild/buf-setup-action@v1.19.0

- name: Verify that protos build.
run: buf build common-components/proto

- uses: bufbuild/buf-push-action@v1
with:
buf_token: ${{ secrets.BUF_TOKEN }}
input: common-components/proto
draft: ${{ github.ref_name != 'main'}}
16 changes: 0 additions & 16 deletions .github/workflows/build-protos.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions common-components/proto/buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: v1
name: buf.build/aip/common-components
breaking:
use:
- FILE
lint:
use:
- DEFAULT
except:
- PACKAGE_VERSION_SUFFIX
enum_zero_value_suffix: _UNSPECIFIED