Interface DraftPullRequestOptions

interface DraftPullRequestOptions {
    draftOnCreate?: RulesOr<undefined | boolean>;
    label?: LabelRef;
    title?: string;
}

Properties

draftOnCreate?: RulesOr<undefined | boolean>

Adds the label automatically to the pull request on creation, marking it as a draft. Default: true

label?: LabelRef

Existing label from the schema to be used for marking the pull request as draft. Default: {name: "Draft"} and is created automatically if not present in the schema.

title?: string

Title for the merge check. It supports markdown for formatting. Default: No work in progress

Generated using TypeDoc