File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments