Skip to content

fix: present a manual dispatch as the issues/opened it stands in for - #285

Merged
ncrmro merged 1 commit into
mainfrom
fix/dispatch-trigger
Aug 11, 2026
Merged

fix: present a manual dispatch as the issues/opened it stands in for#285
ncrmro merged 1 commit into
mainfrom
fix/dispatch-trigger

Conversation

@ncrmro

@ncrmro ncrmro commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

A dispatched triage run reports success and does nothing:

No action taken: 'workflow_dispatch' is not a supported 'issues/opened' trigger, so no skill was selected and issue #270 was not triaged.

The agent is right to decline — its skill routes on the trigger and it refused to improvise. The bug is what the workflow told it. workflow_dispatch exists here for exactly one purpose: triage an issue that was missed or needs re-running. So it should present the routing metadata a fresh issue would.

event_name: ${{ github.event_name == 'workflow_dispatch' && 'issues' || github.event_name }}
event_action: ${{ github.event_name == 'workflow_dispatch' && 'opened' || github.event.action }}

Only the two routing fields are rewritten; issue_number and issue_author stay as they are, and a real issues event is untouched.

Found by dispatching against outfitter#270 — the run was green, and no label was applied.

🤖 Generated with Claude Code

The triage skill routes on the trigger, so passing workflow_dispatch selected
no skill at all: the agent declined with 'not a supported issues/opened
trigger' and the run reported success having triaged nothing. A dispatch
exists to re-run triage on one issue, so it now presents the metadata a fresh
issue would.
@ncrmro
ncrmro enabled auto-merge August 11, 2026 19:06
@ncrmro
ncrmro added this pull request to the merge queue Aug 11, 2026
Merged via the queue into main with commit 0f1ed34 Aug 11, 2026
4 checks passed
@ncrmro
ncrmro deleted the fix/dispatch-trigger branch August 11, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant