Commit 9f8e193
docs(github-code): Add PR lifecycle subscription step after PR creation (#740)
Adds a new Step 7 "Subscribe to PR lifecycle" to the `github-code` skill
workflow, inserted between PR creation and the final report step.
After `github_createPullRequest` returns, the skill now checks for a
subscribable resource hint and calls `subscribeToResourceEvents` if one
is present. The intent is self-contained — it captures repo, PR number,
branch, and per-event-class instructions:
- **Review feedback** → load `pr-cleanup`, address validated feedback,
push, report
- **CI failure** → load `pr-cleanup`, trace root cause from logs, fix,
push, report
- **CI green** (after prior failure) → confirm unblocked, summarize
state
If no subscribable hint is present, the step is a no-op. The prior Step
7 (Report result) becomes Step 8.
<!-- junior-session-footer:start -->
--
[View Junior Session in
Sentry](https://sentry.sentry.io/explore/conversations/slack%3AC0B595QDZLL%3A1783026294.471609/?project=4510944073809921)
<!-- junior-session-footer:end -->
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>1 parent 7975232 commit 9f8e193
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| |||
0 commit comments