Skip to content

NEOS-1639: add JobHook with Pre and Post Sync Timing Support #413

NEOS-1639: add JobHook with Pre and Post Sync Timing Support

NEOS-1639: add JobHook with Pre and Post Sync Timing Support #413

Workflow file for this run

on:
pull_request:
paths:
- backend/protos/**
- BUF_VERSION
- buf.gen.yaml
- buf.work.yaml
name: Buf
permissions:
contents: read
pull-requests: write
jobs:
buf:
name: buf
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Retrieve Buf Version
id: buf-version
run: |
VER=$(cat BUF_VERSION)
echo "version=$VER" >> $GITHUB_OUTPUT
- name: Buf
uses: bufbuild/buf-action@v1
with:
version: ${{ steps.buf-version.outputs.version }}
token: ${{ secrets.BUF_TOKEN }}
push: false # we don't want to push to the BSR
push_disable_create: true