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 eb23309 commit 1ca4b67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-testing-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2869,7 +2869,7 @@ jobs:
needs: [changes]
if: ${{ needs.changes.outputs.anything == 'true' || github.event_name == 'push' }}
timeout-minutes: 10
name: Check api-specs are up to date
name: check api-specs are up to date
runs-on: ubuntu-latest
steps:
- name: setup python environment
Expand All @@ -2888,7 +2888,8 @@ jobs:
run: |
uv venv .venv && source .venv/bin/activate
make openapi-specs
changed_files=$(git diff --name-only | tee /dev/tty)
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
Expand Down

0 comments on commit 1ca4b67

Please sign in to comment.