proto/.gitea/workflows/buf-ci.yaml
nfel 9cf66797da
v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-18 14:46:22 +03:30

26 lines
635 B
YAML

name: Buf CI
on:
push:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
delete:
permissions:
contents: read
pull-requests: write
jobs:
buf:
runs-on: ubuntu-latest
steps:
- name: Checkout Git
uses: actions/checkout@v4
with:
token: ${{ secrets.PROD_REG_TOKEN }}
path: ./main
submodules: recursive
- uses: bufbuild/buf-action@v1
with:
token: 3f12fe38656b6e6423daad49945922b292322862cac00f4a922f68ea44e44c00
setup_only: true
pr_comment: true
- run: buf build --error-format github-actions