Skip to content

Commit

Permalink
always check breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Dec 11, 2023
1 parent 2c63221 commit e8d08af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ jobs:
if: always()
id: breaking
run: |
echo "diff=$(swagger diff --break <(git show HEAD~1:swaggerui/html/swagger.json --quiet) ./swaggerui/html/swagger.json)\n" >> $GITHUB_OUTPUT
echo "diff=$(swagger diff --break <(git show HEAD~1:swaggerui/html/swagger.json --quiet) ./swaggerui/html/swagger.json)\\n" >> $GITHUB_OUTPUT
- name: Add comment
if: always()
uses: mshick/add-pr-comment@v2
with:
message-id: breaking-comment
message: |
Swagger have breaking changes:
```text
Expand Down

0 comments on commit e8d08af

Please sign in to comment.