From 9a4076df495aa7ffbe7b86ece691b5bbe206220e1e43362c0ff105580640ec5e Mon Sep 17 00:00:00 2001 From: Tyler King Date: Thu, 26 Feb 2026 12:13:27 -0500 Subject: [PATCH] Add Forgejo Actions CI workflow Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .forgejo/workflows/ci.yaml diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml new file mode 100644 index 0000000..0218d80 --- /dev/null +++ b/.forgejo/workflows/ci.yaml @@ -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'