Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 2, 2026

Fix workflow dispatch issue with test-workflow

  • Understand the issue: test-dispatcher.md incorrectly said test_param was "optional"
  • Update test-dispatcher.md to correctly state test_param is "required"
  • Update test-workflow.yml to be consistent with test-workflow.md
  • Recompile test-dispatcher workflow
  • Verify the fix resolves the dispatch error

Summary

Fixed the "Required input 'test_param' not provided" error by correcting contradictory documentation in test-dispatcher.md that misleadingly stated the parameter was "optional" when it's actually required.

Changes Made

  1. test-dispatcher.md - Fixed two instances where documentation incorrectly said "optional" instead of "required"
  2. test-workflow.yml - Updated to match test-workflow.md configuration (required: true)

Root Cause

The test-dispatcher workflow documentation had contradictory instructions:

  • YAML example showed required: true
  • Text description said "optional" ✗

This caused the agent to not provide the required parameter when calling the MCP tool.

Verification

The MCP tool schema was already correct with "required":["test_param"], confirming only the instructions needed fixing.

Original prompt

Fix failing workflow dispatching:
https://github.com/githubnext/gh-aw/actions/runs/21584050639


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix failing workflow dispatching issue No changes needed - workflow dispatching issue already resolved Feb 2, 2026
Copilot AI requested a review from mnkiefer February 2, 2026 09:25
…quired

- Update test-dispatcher.md to say "required" instead of "optional" for test_param
- Update test-workflow.yml to match test-workflow.md (required: true)
- This fixes the issue where the agent was not providing the required parameter

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
@mnkiefer mnkiefer marked this pull request as ready for review February 2, 2026 09:40
@mnkiefer mnkiefer merged commit 6e80466 into main Feb 2, 2026
121 checks passed
@mnkiefer mnkiefer deleted the copilot/fix-workflow-dispatch-issue branch February 2, 2026 09:41
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.

2 participants