Commit 035c27b
fix(ci): guard command captures with set +e/-e to prevent silent abort
GitHub Actions shells run with -eo pipefail. A `VAR=$(cmd 2>&1)` line
where cmd exits non-zero causes bash to abort the step immediately, so
the GITHUB_ENV heredoc never runs and apply_output arrives empty — which
explains the PR comment showing "(No output from inbox_to_schema.py)".
Added set +e / set -e brackets around all three command-substitution
captures (apply, just test, round-trip) so the exit code is recorded
before set -e is re-armed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 35965c6 commit 035c27b
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| 133 | + | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| |||
164 | 170 | | |
165 | 171 | | |
166 | 172 | | |
167 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
168 | 176 | | |
169 | 177 | | |
| 178 | + | |
170 | 179 | | |
171 | 180 | | |
172 | 181 | | |
| |||
208 | 217 | | |
209 | 218 | | |
210 | 219 | | |
| 220 | + | |
211 | 221 | | |
212 | 222 | | |
| 223 | + | |
213 | 224 | | |
214 | 225 | | |
215 | 226 | | |
| |||
0 commit comments