Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(ci): protobuf compatibility check (pt 2) #18553

Merged
merged 13 commits into from
Sep 20, 2023
27 changes: 27 additions & 0 deletions .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Protobuf Compatibility

on:
pull_request:
dsmith3197 marked this conversation as resolved.
Show resolved Hide resolved
paths:
- "proto/**"
- "lib/vector-core/proto/**"
merge_group:
types: [checks_requested]

concurrency:
# `github.event.number` exists for pull requests, otherwise fall back to SHA for merge queue
group: ${{ github.workflow }}-${{ github.event.number || github.event.merge_group.head_sha }}
dsmith3197 marked this conversation as resolved.
Show resolved Hide resolved
cancel-in-progress: true

jobs:
validate-protos:
runs-on: ubuntu-latest
steps:
# Run `git checkout`
- uses: actions/checkout@v3
# Install the `buf` CLI
- uses: bufbuild/buf-setup-action@v1.26.1
# Perform breaking change detection against the `master` branch
- uses: bufbuild/buf-breaking-action@v1.1.3
with:
against: "https://github.com/vectordotdev/vector.git#branch=master"
Loading