From 601b9ca1844f8e9f6281cbdd6e3d4318954d5177 Mon Sep 17 00:00:00 2001 From: noahdietz Date: Wed, 9 Nov 2022 08:43:59 -0800 Subject: [PATCH] chore(ci): ignore interface additions for stubs --- .github/workflows/apidiff.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/apidiff.yml b/.github/workflows/apidiff.yml index c531dae6d805..4df95ba7a9fd 100644 --- a/.github/workflows/apidiff.yml +++ b/.github/workflows/apidiff.yml @@ -69,6 +69,9 @@ jobs: - name: Compare regenerated code to baseline run: | cd ${{ matrix.changed }} && apidiff -incompatible ${{ steps.baseline.outputs.pkg }} . > diff.txt + if [[ ${{ matrix.changed }} == *pb ]]; then + sed -i '/: added/d' ./diff.txt + fi cat diff.txt && ! [ -s diff.txt ] - name: Add breaking change label if: ${{ failure() && !github.event.pull_request.head.repo.fork }}