File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2742,11 +2742,9 @@ jobs:
27422742 run : |
27432743 uv venv .venv && source .venv/bin/activate
27442744 make openapi-specs
2745- changed_files=$(git diff --name-only | awk '{$1=$1};1')
2746- if [[ -n "${changed_files}" ]]; then
2747- echo -e "Run 'make openapi-specs' to update the following specs: \n${changed_files}"
2748- exit 1
2749- fi
2745+ ./ci/github/helpers/openapi-specs-backwards-compatibility.bash diff \
2746+ https://raw.githubusercontent.com/${{ github.repository }}/refs/heads/${{ github.ref }} \
2747+ .
27502748
27512749
27522750 api-spec-backwards-compatible :
@@ -2770,6 +2768,6 @@ jobs:
27702768 uses : actions/checkout@v4
27712769 - name : Check openapi-specs backwards compatibility
27722770 run : |
2773- bash ci/github/helpers/openapi-specs-backwards-compatibility.bash \
2771+ ./ ci/github/helpers/openapi-specs-backwards-compatibility.bash breaking \
27742772 https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }} \
27752773 .
You can’t perform that action at this time.
0 commit comments