Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/test-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,27 @@ safe-outputs:

# Test Runtime Workflow


Only act if the label that was just added matches one of:

- `ai:test-runtime-workflow` - run ALL workflows

## Instructions

This workflow demonstrates the `dispatch-workflow` safe output capability. You can trigger other workflows by outputting a `dispatch_workflow` request.

### Example: Dispatch a workflow

To dispatch the `worker-workflow` with input parameters, output a JSON entry like this:

```json
{
"type": "dispatch_workflow",
"workflow_name": "worker-workflow",
"inputs": {
"campaign_id": "bootstrap-123",
"payload": "{\"target\": \"repositories\"}"
}
}
```

The available workflows you can dispatch are: `add-name`, `add-emojis`.
Loading