Commit Graph

2 Commits

Author SHA1 Message Date
Brad Ison
798e4a0546 [misc] Skip the protobuf breaking check on branch-creation pushes (#7411)
A push that creates a branch sends the all-zero SHA as `before`, and
bufbuild/buf-action unconditionally builds its default baseline from
it:(src/inputs.ts:86), so `buf breaking` failed cloning a ref that does
not exist. This broke the first run on every new release-* branch, most
recently release-0.78.

Gate `breaking` on github.event.created instead. Nothing is lost: every
commit on a freshly cut release branch already passed the check on main,
and pushes with a real `before` -- plus pull requests, which compare
against their own base -- keep the action's own default baseline, so
stacked PRs are unaffected.

Also drop `build: false`, which is not an input this action accepts and
only produced a warning.
2026-09-03 16:44:18 +02:00
dmitri-netbird
2621aaa619 [management, client] add protobuf breaking changes check (#7305)
* add protobuf breaking changes check

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* disable path check for now

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* enable breaking checks

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* testing breaking change

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* Revert "testing breaking change"

This reverts commit 05e6ef9b78.

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* remove commented out proto paths

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* disable pushes

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* responded to feedback

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* trigger workflow on changes to buf config or the workflow itself

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* fix the workflow file name

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

* explicit config for actions

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>

---------

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
2026-08-26 11:48:05 +02:00