Input

class Input<T : Any> : IO<T> , Renderable<Map<String, Any>>

Represents an input parameter for GitHub Actions workflows, jobs, or custom actions.

Inputs define parameters that can be passed to workflows when they are triggered, to jobs within workflows, or to custom actions. They support type validation, default values, and required/optional configurations to create flexible and reusable automation components.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun render(): MutableMap<String, Any>
Link copied to clipboard
fun withDefault(defaultValue: T): Input<T>