Commit fb49fb8
authored
chore: update regen workflow (#13409)
Currently, the regeneration check workflow uses `git diff --exit-code`
to verify if code regeneration produced any differences. However, `git
diff` only checks tracked files. If the regeneration process creates new
files (such as newly generated client files that were
previously excluded), they remain untracked and the check passes without
reporting a failure.
Change the check to use `git status --porcelain` to detect any changes
(including modifications, deletions, and untracked files).
Add instructions on how to resolve the failure.1 parent d581adb commit fb49fb8
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
0 commit comments