diff --git a/.github/workflows/test-dispatcher.md b/.github/workflows/test-dispatcher.md index ea5172c181..c28414bacb 100644 --- a/.github/workflows/test-dispatcher.md +++ b/.github/workflows/test-dispatcher.md @@ -37,12 +37,12 @@ on: required: true ``` -So you'll have a `test_workflow` tool available with an optional `test_param` input. +So you'll have a `test_workflow` tool available with a required `test_param` input. ## Instructions 1. **Call the MCP tool**: Use the `test_workflow` tool (automatically generated from the workflow name) -2. **Provide inputs (optional)**: The `test_param` input is required +2. **Provide inputs (required)**: The `test_param` input is required 3. **The tool handles everything**: The MCP tool will automatically dispatch the workflow with the correct inputs ## Example Tool Call diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 8d7c03b4a0..058265cd32 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -3,13 +3,13 @@ on: workflow_dispatch: inputs: test_param: - description: 'Test parameter' + description: 'Question from the dispatcher workflow' type: string - required: false + required: true permissions: contents: read jobs: test: runs-on: ubuntu-latest steps: - - run: echo "Test workflow" + - run: echo "Test workflow dispatched with param: ${{ inputs.test_param }}"