Fix agent skipping assign-to-agent call in security-alert-burndown workflow#12358
Merged
Fix agent skipping assign-to-agent call in security-alert-burndown workflow#12358
Conversation
…gent - Restructure Step 4 with clear numbered actions (1, 2, 3) - Add explicit reminder to store issue number after create_issue - Add CRITICAL note that all three tools must be called - Move issue template after all action instructions - Make instructions more sequential and actionable This should prevent the agent from skipping the assign_to_agent call. Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
mnkiefer
approved these changes
Jan 28, 2026
Contributor
|
@copilot recompile workflow |
Copilot
AI
changed the title
[WIP] Fix assign to agent step in run analysis
Fix agent skipping assign-to-agent call in security-alert-burndown workflow
Jan 28, 2026
Contributor
Author
Workflow recompiled successfully. No changes were needed - the lock file was already up to date with the markdown changes. |
mnkiefer
approved these changes
Jan 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In run 21454338976, the agent created parent issue #12356 but never called
assign_to_agent. The conditional stepcontains(needs.agent.outputs.output_types, 'assign_to_agent')skipped because the agent didn't emit that output type.Root cause: Workflow instructions had three required actions scattered across 100 lines with a 50-line issue template interrupting the sequence:
Changes
Restructured Step 4 to make the three-action sequence explicit and uninterruptible:
**CRITICAL**: You must call all three tools (create_issue, update_project, assign_to_agent) in sequenceThe workflow structure remains unchanged—only the embedded prompt text was updated. The conditional logic
contains(needs.agent.outputs.output_types, 'assign_to_agent')is correct; the issue was agent behavior, not the conditional.File changes
.github/workflows/security-alert-burndown.md- Restructured Step 4 instructions (+8 lines, -14 lines).github/workflows/security-alert-burndown.lock.yml- Recompiled with updated embedded promptOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.