From f14e9eb24aa668d99eab9d17841b598bd7c7bb66 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 20 Jun 2022 16:22:19 +0200 Subject: [PATCH] ci: remove proto breakage check action on main (#12304) * fix: github action proto breakage check * do not run action on main --- .github/workflows/proto.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 383d719527..f8fdf1eee9 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -5,22 +5,17 @@ on: pull_request: paths: - "proto/**" - push: - branches: - - main - paths: - - "proto/**" jobs: lint: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v3 - - uses: bufbuild/buf-setup-action@v1.5.0 - - uses: bufbuild/buf-lint-action@v1 - with: - input: 'proto' + - uses: actions/checkout@v3 + - uses: bufbuild/buf-setup-action@v1.5.0 + - uses: bufbuild/buf-lint-action@v1 + with: + input: "proto" break-check: runs-on: ubuntu-latest