This repository was archived by the owner on Aug 30, 2025. It is now read-only.
Adds plumbing for Jobs v2 API #713
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |