ci: remove proto breakage check action on main (#12304)

* fix: github action proto breakage check

* do not run action on main
This commit is contained in:
Julien Robert 2022-06-20 16:22:19 +02:00 committed by GitHub
parent 2085850158
commit f14e9eb24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,22 +5,17 @@ on:
pull_request: pull_request:
paths: paths:
- "proto/**" - "proto/**"
push:
branches:
- main
paths:
- "proto/**"
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.5.0 - uses: bufbuild/buf-setup-action@v1.5.0
- uses: bufbuild/buf-lint-action@v1 - uses: bufbuild/buf-lint-action@v1
with: with:
input: 'proto' input: "proto"
break-check: break-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest