invoke
operator fun invoke(eventType: String, token: StrExp, clientPayload: Map<String, Any> = emptyMap(), name: String? = null, step: SendRepositoryDispatch.() -> Unit = {}): SendRepositoryDispatch
Creates and configures a SendRepositoryDispatch instance with Kotlin DSL syntax.
Return
Configured SendRepositoryDispatch instance
Parameters
event Type
The custom event type that identifies this dispatch
token
GitHub token with repository permissions
client Payload
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