diff --git a/.github/workflows/buf-registry.yml b/.github/workflows/buf-registry.yml new file mode 100644 index 00000000..3d5b3294 --- /dev/null +++ b/.github/workflows/buf-registry.yml @@ -0,0 +1,14 @@ +name: Publish buf files +on: + workflow_call: +permissions: + contents: read +jobs: + buf: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: bufbuild/buf-action@v1 + with: + token: ${{ secrets.BUF_TOKEN }} + tpr_comment: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 044cc9a5..6ba85cdf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,14 @@ jobs: packages: write uses: ./.github/workflows/npm-publish.yml + publish_buf_registry: + name: Publish buf files + permissions: + contents: read + needs: + - npm_publish + uses: ./.github/workflows/buf-registry.yml + build_docker_images: name: Build Docker Images permissions: