Commit 40cca31
fix: Correct i18n workflow git commit logic
The previous workflow was resetting the branch which discarded the
generated locale changes. This fix simplifies the commit logic to
just add and commit the changes directly without branch manipulation.
The issue was:
- git stash + git checkout -B would reset to remote, losing changes
- The detached HEAD in GitHub Actions made stash operations unreliable
The fix:
- Remove unnecessary git stash/checkout operations
- Directly add, commit, and push the locale changes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent abf7e72 commit 40cca31
2 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 51 | | |
58 | | - | |
59 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments