File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,13 @@ jobs:
3535 run : |
3636 uv venv .venv && source .venv/bin/activate
3737 make openapi-specs
38- ./ci/github/helpers/openapi-specs-diff.bash diff \
38+ if ! ./ci/github/helpers/openapi-specs-diff.bash diff \
3939 https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/refs/heads/${{ github.event.pull_request.head.ref }} \
40- .
40+ .; then \
41+ echo "::error OAS are not up to date. Run 'make openapi-specs' to update them"; \
42+ fi
4143
42- api-server-backwards-compatibility :
44+ api-server-oas-breaking :
4345 needs : api-specs
4446 timeout-minutes : 10
4547 name : " api-server backwards compatibility"
6264 https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }}/services/api-server/openapi.json \
6365 /specs/services/api-server/openapi.json
6466
65- oas-backwards-compatibility :
67+ all- oas-breaking :
6668 needs : api-specs
6769 continue-on-error : true
6870 timeout-minutes : 10
You can’t perform that action at this time.
0 commit comments