Skip to content

Feedback

Feedback #1588

Workflow file for this run

name: buf
on:
push:
paths:
- 'proto/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- uses: bufbuild/[email protected]
with:
buf_token: ${{ secrets.BUF_TOKEN }}
breaking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- uses: bufbuild/[email protected]
with:
against: buf.build/bufbuild/buf
buf_token: ${{ secrets.BUF_TOKEN }}
push:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs:
- lint
- breaking
steps:
- uses: actions/checkout@v4
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- uses: bufbuild/[email protected]
with:
input: 'proto'
buf_token: ${{ secrets.BUF_TOKEN }}