Merge pull request #206 from xmtp/rich/vector-clock-map #429
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Buf | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
buf: | |
runs-on: ubuntu-latest | |
steps: | |
# Run `git checkout` | |
- uses: actions/checkout@v2 | |
# Install the `buf` CLI | |
- uses: bufbuild/buf-setup-action@v1 | |
with: | |
github_token: ${{ github.token }} | |
buf_api_token: ${{ secrets.BUF_TOKEN }} | |
# Push only the Input in `proto` to the BSR | |
- uses: bufbuild/buf-push-action@v1 | |
with: | |
input: proto | |
buf_token: ${{ secrets.BUF_TOKEN }} | |
draft: ${{ github.ref_name != 'main'}} |