name: Protobuf Compatibility permissions: contents: read on: pull_request: paths: - "proto/**" - "lib/vector-core/proto/**" merge_group: types: [checks_requested] concurrency: # `github.ref` is unique for MQ runs and PRs group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: validate-protos: runs-on: ubuntu-24.04 timeout-minutes: 5 steps: # Run `git checkout` - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 # Install the `buf` CLI - uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} # Perform breaking change detection against the `master` branch - uses: bufbuild/buf-breaking-action@c57b3d842a5c3f3b454756ef65305a50a587c5ba # v1.1.4 with: against: "https://github.com/vectordotdev/vector.git#branch=master"