diff --git a/.github/workflows/prod-openapi.yml b/.github/workflows/prod-openapi.yml index 45e41d7a..95758b0f 100644 --- a/.github/workflows/prod-openapi.yml +++ b/.github/workflows/prod-openapi.yml @@ -63,8 +63,11 @@ jobs: set -euo pipefail git config user.name "clokey-bot" git config user.email "clokey-bot@users.noreply.github.com" - - if git diff --quiet; then + + git add "${TARGET_PATH}" + ls -al "codiveapi/${TARGET_PATH}" + + if git diff --cached --quiet; then echo "No changes detected. Skipping commit." exit 0 fi