diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 7bc3ae9b..079e2ad7 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -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