Skip to content

Removed breaking change check for now #542

Removed breaking change check for now

Removed breaking change check for now #542

Workflow file for this run

name: Buf
on:
push:
tags:
- v*
branches:
- develop
- release/v*
- feature/*
jobs:
buf:
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup buf
uses: bufbuild/buf-setup-action@v1
with:
github_token: ${{ github.token }}
- name: Push to Buf registry
env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
run: |
# --git-metadata automatically sets labels based on git branches/tags
# and source-control-url from the git remote
if [[ "${{ github.ref }}" == refs/tags/v* ]]; then
# For tags, also push to 'main' label so docs stay up to date
echo "Running: buf push proto --git-metadata --label main"
buf push proto --error-format=github-actions --git-metadata --label=main
else
echo "Running: buf push proto --git-metadata"
buf push proto --error-format=github-actions --git-metadata
fi