Skip to content

Commit 4bfb673

Browse files
test: workflow
1 parent 5678c6b commit 4bfb673

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci-cd.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,22 @@ jobs:
7676
# Normalize line endings and ignore timestamp changes
7777
git add . --renormalize
7878
79+
# 🧩 Debug: show diff stats before the check
80+
echo "=== GIT STATUS ==="
81+
git status
82+
echo "=== GIT DIFF SUMMARY ==="
83+
git diff --staged --stat || true
84+
echo "=== GIT DIFF FULL (trimmed to 100 lines) ==="
85+
git diff --staged | head -n 100 || true
86+
7987
# Check for real content differences only (ignores EOL & mode changes)
8088
if git diff --staged --ignore-space-at-eol --ignore-all-space --ignore-blank-lines --quiet; then
8189
echo "No meaningful changes detected — skipping regeneration."
8290
echo "pr_required=false" >> "$GITHUB_OUTPUT"
8391
exit 0
8492
fi
8593
94+
8695
git commit -m "chore: regenerate client from OpenAPI"
8796
git push https://x-access-token:${PAT_TOKEN}@github.com/${GITHUB_REPOSITORY}.git "$BRANCH"
8897

0 commit comments

Comments
 (0)