Add Forgejo Actions CI workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tyler King 2026-02-26 12:13:27 -05:00
parent 2720a631b8
commit 9a4076df49

View file

@ -0,0 +1,22 @@
name: Proto CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install buf
uses: bufbuild/buf-setup-action@v1
- name: Lint protos
run: buf lint
- name: Check breaking changes
if: github.event_name == 'pull_request'
run: buf breaking --against '.git#branch=main'