Skip to content

Commit

Permalink
chore(ci): ignore interface additions for stubs (#7008)
Browse files Browse the repository at this point in the history
Stub directories are allowed to have interface additions as this is generated code.

Fixes #7007
  • Loading branch information
noahdietz authored Nov 17, 2022
1 parent c9aebae commit 8087047
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/apidiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 8087047

Please sign in to comment.