configure

fun configure(eventType: String, token: StrExp, clientPayload: Map<String, Any> = emptyMap(), name: String? = null, step: Configure<SendRepositoryDispatch> = Configure {}): SendRepositoryDispatch

Creates and configures a SendRepositoryDispatch instance.

Return

Configured SendRepositoryDispatch instance

Parameters

eventType

The custom event type that identifies this dispatch

token

GitHub token with repository permissions

clientPayload

Optional payload data to send with the dispatch event

name

Optional name for the step (defaults to "Repository Dispatch")

step

Configuration lambda to customize the step