We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca4b67 commit f3eaea2Copy full SHA for f3eaea2
.github/workflows/ci-testing-deploy.yml
@@ -2888,11 +2888,8 @@ jobs:
2888
run: |
2889
uv venv .venv && source .venv/bin/activate
2890
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
+ changed_files=$(git diff --name-only | awk '{$1=$1};1')
+ [ -z "${changed_files}" ] && echo "${changed_files}" && exit 1
2896
2897
2898
api-spec-backwards-compatible:
0 commit comments