Commit d3e9ceb
fix: make smoke-claude safe outputs trigger-aware for workflow_dispatch (#2036)
The smoke-claude prompt unconditionally instructs the agent to add
comments and labels to 'the pull request', but workflow_dispatch and
schedule triggers have no PR context. The add_labels handler hard-fails
(unlike add_comment which skips gracefully), causing the safe_outputs
job to fail on manual runs.
Update the prompt to only emit add_comment/add_labels when triggered
by a pull_request, and use noop for non-PR triggers.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c923b80 commit d3e9ceb
File tree
3 files changed
+85
-62
lines changed- .github
- aw
- workflows
3 files changed
+85
-62
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments