Skip to content

Commit

Permalink
add breaking change to swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Dec 11, 2023
1 parent ffcd755 commit 60510c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
continue-on-error: true
run: swagger diff --break ./swaggerui/html/swagger.json swagger.json > /tmp/swagger_breaking_changes.txt
- name: Add comment
if: failure() && steps.breaking.outcome == 'failure'
if: always() # failure() && steps.breaking.outcome == 'failure'
uses: mshick/add-pr-comment@v2
with:
message-id: breaking-comment
Expand Down
11 changes: 10 additions & 1 deletion swaggerui/html/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -7267,7 +7267,16 @@
},
"status": {
"description": "Status of the step",
"type": "number",
"type": "string",
"enum": [
"Queued",
"Waiting",
"Running",
"Succeeded",
"Failed",
"Stopped",
"StoppedNoChanges"
],
"x-go-name": "Status",
"example": "Waiting"
}
Expand Down

0 comments on commit 60510c9

Please sign in to comment.