Function: createGithubCreateOrUpdatePrBuilder()
ts
function createGithubCreateOrUpdatePrBuilder<TIn, TOut, THandle>(id, options): GithubCreateOrUpdatePrBuilder<TIn, TOut, THandle>;Defined in: github/src/builders/create-github-create-or-update-pr-builder.ts:23
Creates an immutable fluent GithubCreateOrUpdatePrBuilder (github.createOrUpdatePr).
Initializes default z.unknown() boundary schemas when omitted and supports fluent .input(schema) and .output(schema) overrides prior to .toAST() compilation.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TIn | unknown | Validated step input payload type. |
TOut | unknown | Validated step output payload type. |
THandle | unknown | Runtime handle type of the enclosing isolation scope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Unique step node identifier. |
options | GithubCreateOrUpdatePrOptions<TIn, TOut> | Repository, token, and PR field projections. |
Returns
GithubCreateOrUpdatePrBuilder<TIn, TOut, THandle>
Immutable pull-request step builder.
Throws
If id is empty or options.repo is not a valid 'owner/repo' slug.