Repository navigation
Commit 2452fc5
committed
skills(running-tend): fix closed-PR lookup snippet
Apply review feedback on the new closed-PR lookup. Two issues surfaced
when the snippet was actually run:
- `--search "fix/ci- in:head"` doesn't constrain to fix/ci-* branches.
`in:head` isn't a valid issues/PRs search qualifier and is silently
ignored, so the search degrades to default-field text matching and
pulls in nightly/daily/hourly PRs whose titles contain "fix" or "ci".
Use `head:fix/ci-` instead.
- `--json` omitted `body`, where the failure diagnostic from
`gh run view --log-failed` is embedded in the PR description.
Without `body` there's nothing to shape-match against; `comments`
only carries the maintainer's rejection rationale. Add `body`.
Verified locally: `head:fix/ci-` returns only fix/ci-* branches and the
body field carries the PR description, including the run-link block.1 parent 44700c5 commit 2452fc5
1 file changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
105 | | - | |
106 | | - | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments