Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Dec 3, 2024
1 parent 1ca4b67 commit f3eaea2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci-testing-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2888,11 +2888,8 @@ jobs:
run: |
uv venv .venv && source .venv/bin/activate
make openapi-specs
changed_files=$(git diff --name-only)
echo "${changed_files}"
if echo ${changed_files} | grep -qE '^(openapi\.json|openapi\.yaml)$'; then
echo "Run make openapi-specs and commit changes" && exit 1
fi
changed_files=$(git diff --name-only | awk '{$1=$1};1')
[ -z "${changed_files}" ] && echo "${changed_files}" && exit 1
api-spec-backwards-compatible:
Expand Down

0 comments on commit f3eaea2

Please sign in to comment.