Commit 9446a5f
committed
fix(workflow): address Cursor Bugbot findings on upgrade-deps PR
- Guarantee a trailing newline on commit-message.txt and pr-body.md
before piping them through the heredoc into `$GITHUB_OUTPUT`. If
Claude overwrites either file without a final `\n`, `cat` leaves the
last line adjacent to the closing delimiter and GitHub Actions never
terminates the multi-line value — producing a garbled body/commit.
- Fail fast in `updatePnpmWorkspace` when a version regex no longer
matches the YAML. Previously we silently recorded `(unset) -> new`
even though `.replace` was a no-op, which would ship a misleading
dependency table. A stale pattern now surfaces as an explicit error
so the script can be updated.1 parent 1365243 commit 9446a5f
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
231 | 242 | | |
232 | 243 | | |
233 | 244 | | |
| |||
0 commit comments