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:
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