File tree 4 files changed +713
-19
lines changed
src/simcore_service_api_server/api/routes
4 files changed +713
-19
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,15 @@ jobs:
31
31
enable-cache : false
32
32
- name : checkout source branch
33
33
uses : actions/checkout@v4
34
- - name : Regenerate specs and check
34
+ - name : Generate openapi specs
35
35
run : |
36
36
make devenv
37
37
source .venv/bin/activate
38
38
make openapi-specs
39
+ - name : Check openapi specs are up to date
40
+ run : |
39
41
if ! ./ci/github/helpers/openapi-specs-diff.bash diff \
40
- https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/refs/heads/ ${{ github.event.pull_request.head.ref }} \
42
+ https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.after }} \
41
43
.; then \
42
44
echo "::error:: OAS are not up to date. Run 'make openapi-specs' to update them"; exit 1; \
43
45
fi
57
59
- name : check api-server backwards compatibility
58
60
run : |
59
61
./scripts/openapi-diff.bash breaking --fail-on ERR\
60
- 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 \
62
+ https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/${{ github.event.after }}/services/api-server/openapi.json \
61
63
/specs/services/api-server/openapi.json
62
64
63
65
all-oas-breaking :
76
78
- name : Check openapi-specs backwards compatibility
77
79
run : |
78
80
./ci/github/helpers/openapi-specs-diff.bash breaking \
79
- https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/ ${{ github.event.pull_request.base.ref }} \
81
+ https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/${{ github.event.after }} \
80
82
.
You can’t perform that action at this time.
0 commit comments