Repository navigation
Commit 53fe60e
committed
fix(apply-repo-settings): surface full API error body via step summary
GitHub truncates the single-line ::error:: annotation at the first newline.
On a JSON error body, that's the first '{' — losing every useful field
('message', 'errors[]', etc.). Now:
- Compact the body via jq before emitting the annotation so the full
object survives.
- Also append the pretty-printed body to GITHUB_STEP_SUMMARY so the full
failure is visible on the job page and via /actions/jobs/{id} →
output.summary.1 parent 4865821 commit 53fe60e
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
70 | 90 | | |
71 | 91 | | |
72 | 92 | | |
| |||
0 commit comments