Skip to content

Commit d3e9ceb

Browse files
lpcoxCopilot
andauthored
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

3 files changed

+85
-62
lines changed

.github/aw/actions-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"version": "v4.0.0",
4646
"sha": "4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd"
4747
},
48-
"github/gh-aw-actions/setup@v0.68.3": {
48+
"github/gh-aw-actions/setup@v0.68.4": {
4949
"repo": "github/gh-aw-actions/setup",
50-
"version": "v0.68.3",
51-
"sha": "ba90f2186d7ad780ec640f364005fa24e797b360"
50+
"version": "v0.68.4",
51+
"sha": "57583dfa129051b855aa5d750d36fbeb8a885579"
5252
},
5353
"github/gh-aw/actions/setup@v0.68.1": {
5454
"repo": "github/gh-aw/actions/setup",

0 commit comments

Comments
 (0)