Repository navigation
Commit f1bb0cc
fix: do not report committed=true for empty commit SHA (#757)
* fix: do not report committed=true for empty commit SHA
simple-git can resolve successfully with an empty commit hash when no
commit was actually created; keep the committed output accurate.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix: stop tagging/pushing after empty commit SHA
Let empty-SHA failures reject so the outer catch stops the action instead of continuing after setFailed.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent ebc24bf commit f1bb0cc
2 files changed
Lines changed: 16 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
| |||
0 commit comments