diff --git a/.github/workflows/push-to-buf.yml b/.github/workflows/push-to-buf.yml new file mode 100644 index 00000000..8bc06615 --- /dev/null +++ b/.github/workflows/push-to-buf.yml @@ -0,0 +1,20 @@ +name: Push to Buf Registry + +on: + push: + tags: + - 'v**' + branches: + - master +permissions: + contents: read +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + - uses: bufbuild/buf-action@v1 + with: + version: 1.49.0 + token: ${{ secrets.BUF_TEMPORALIO_TOKEN }} diff --git a/buf.yaml b/buf.yaml index a09458dc..e984c143 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,4 +1,5 @@ version: v1 +name: buf.build/temporalio/api deps: - buf.build/grpc-ecosystem/grpc-gateway - buf.build/googleapis/googleapis