github.com/cosmos/cosmos-sdk@v0.50.10/.github/workflows/proto-registry.yml (about) 1 name: Buf-Push 2 # Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk 3 # This workflow is only run when a .proto file has been changed 4 on: 5 push: 6 branches: 7 - main 8 paths: 9 - "proto/**" 10 11 jobs: 12 push: 13 runs-on: ubuntu-latest 14 steps: 15 - uses: actions/checkout@v3 16 - uses: bufbuild/buf-setup-action@v1.21.0 17 - uses: bufbuild/buf-push-action@v1 18 with: 19 input: "proto" 20 buf_token: ${{ secrets.BUF_TOKEN }}