Skip to content

Commit f3eaea2

Browse files
committed
fix
1 parent 1ca4b67 commit f3eaea2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2888,11 +2888,8 @@ jobs:
28882888
run: |
28892889
uv venv .venv && source .venv/bin/activate
28902890
make openapi-specs
2891-
changed_files=$(git diff --name-only)
2892-
echo "${changed_files}"
2893-
if echo ${changed_files} | grep -qE '^(openapi\.json|openapi\.yaml)$'; then
2894-
echo "Run make openapi-specs and commit changes" && exit 1
2895-
fi
2891+
changed_files=$(git diff --name-only | awk '{$1=$1};1')
2892+
[ -z "${changed_files}" ] && echo "${changed_files}" && exit 1
28962893
28972894
28982895
api-spec-backwards-compatible:

0 commit comments

Comments
 (0)