Skip to content

Commit 7779f13

Browse files
committed
use ci script @GitHK
1 parent 864d190 commit 7779f13

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci-testing-deploy.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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
.

0 commit comments

Comments
 (0)