Commit 3caab99
committed
docs(merge-gate): use jq optional chaining in post-merge snippets (review)
Apply .mergeCommit?.oid and .check_runs[]? so the documented commands don't
abort with a fatal jq error (e.g. 'Cannot iterate over null') when an API
response is missing or unexpected.
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>1 parent 6f547ed commit 3caab99
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
0 commit comments