name: ci on: push: pull_request: jobs: buf: runs-on: docker container: image: bufbuild/buf:latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: buf lint run: buf lint - name: buf breaking (against main) run: buf breaking --against '.git#branch=main' if: github.ref != 'refs/heads/main'