Skip to content

Commit

Permalink
add warning on breaking change to api
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Dec 11, 2023
1 parent f57d119 commit b0e3652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
if: always()
id: breaking
continue-on-error: true
run: swagger diff --break ./swaggerui/html/swagger.json swagger.json > /tmp/swagger_breaking_changes.txt
run: swagger diff --break <(git show master:swaggerui/html/swagger.json) swagger.json > /tmp/swagger_breaking_changes.txt
- name: Add comment
if: always() # failure() && steps.breaking.outcome == 'failure'
if: failure() && steps.breaking.outcome == 'failure'
uses: mshick/add-pr-comment@v2
with:
message-id: breaking-comment
Expand Down

0 comments on commit b0e3652

Please sign in to comment.