Commit 1bdf971
authored
fix: only comment on PR when recordings are actually pushed (#5218)
## Summary
- Gate the "Recordings committed successfully" PR comment on whether
recordings were actually pushed
- Adds `pushed` output to the commit step, set to `true` only on
successful push
- Prevents misleading comments on PRs with no new recordings
## Test plan
- [x] Tested all four code paths locally (no changes, successful push,
maintainerCanModify false, step skipped)
Signed-off-by: Charlie Doern <cdoern@redhat.com>1 parent f01ded5 commit 1bdf971
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| 251 | + | |
250 | 252 | | |
251 | 253 | | |
252 | 254 | | |
| |||
268 | 270 | | |
269 | 271 | | |
270 | 272 | | |
| 273 | + | |
271 | 274 | | |
272 | 275 | | |
273 | 276 | | |
| 277 | + | |
274 | 278 | | |
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
278 | 282 | | |
279 | 283 | | |
| 284 | + | |
280 | 285 | | |
281 | 286 | | |
282 | 287 | | |
283 | | - | |
| 288 | + | |
284 | 289 | | |
285 | 290 | | |
286 | 291 | | |
| |||
0 commit comments