configure

fun configure(filename: String, block: Configure<Workflow> = Configure {}): Workflow

Creates and configures a Workflow instance.

Return

Configured Workflow instance

Parameters

filename

The name of the workflow - appears as the YAML filename in .github/workflows

block

Configuration lambda to set up the workflow