Skip to content

Commit 3d41ccd

Browse files
fix: update err-ignore test to accept new oasdiff output message
oasdiff now returns "No changes to report, but the specs are different" when all breaking changes are suppressed via err-ignore, instead of empty output (which the entrypoint mapped to "No breaking changes"). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ee78a59 commit 3d41ccd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ jobs:
322322
${{ steps.test_breaking_err_ignore.outputs.breaking }}
323323
$delimiter
324324
)
325-
if [ "$output" != "No breaking changes" ]; then
326-
echo "Expected 'No breaking changes' but got '$output'" >&2
325+
if [ "$output" != "No changes to report, but the specs are different" ]; then
326+
echo "Expected 'No changes to report, but the specs are different' but got '$output'" >&2
327327
exit 1
328328
fi

breaking/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM tufin/oasdiff:v1.14.0
2+
# Bust cache to pick up rebuilt v1.14.0 image (includes PR #841)
23
RUN apk add --no-cache jq
34
ENV PLATFORM github-action
45
COPY entrypoint.sh /entrypoint.sh

0 commit comments

Comments
 (0)