Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
ci: gate proto PRs on buf breaking check (#2524)
Moulik Aggarwal390b1284ff37
diff --git a/.github/workflows/proto-check.yml b/.github/workflows/proto-check.ymlindex 198e90907..3568dcab6 100644--- a/.github/workflows/proto-check.yml+++ b/.github/workflows/proto-check.yml@@ -7,6 +7,7 @@ on:- "packages/proto/**"pull_request:branches: [main]+ types: [opened, synchronize, reopened, labeled, unlabeled]paths:- "packages/proto/**"@@ -21,6 +22,9 @@ jobs:steps:- name: ⬇️ Checkout repouses: actions/checkout@v6+ with:+ # breaking check resolves --against against the PR base commit+ fetch-depth: 0- name: Set up pnpmuses: pnpm/action-setup@v4@@ -51,6 +55,11 @@ jobs:working-directory: ./packages/protorun: pnpm buf:lint:api+ - name: 🔍 Breaking change check+ if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'buf skip breaking')+ working-directory: ./packages/proto+ run: pnpm exec buf breaking api --against "../../.git#ref=${{ github.event.pull_request.base.sha }},subdir=packages/proto/api"+- name: 🔄 Regenerate proto filesworking-directory: ./packages/protorun: |