Commit 325792b
fix: skip add_labels in build-test on workflow_dispatch (#1914)
The build-test workflow fails on workflow_dispatch because the agent
calls add_labels when there's no PR context. The safe_outputs handler
for add_labels errors with 'No issue/PR number available' unlike
add_comment which gracefully skips.
Update the prompt to instruct the agent to only add labels when
triggered by a pull_request event.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8c9668c commit 325792b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
0 commit comments