Skip to content

Interface: GithubCreateOrUpdatePrOptions<TIn, TOut> ​

Defined in: github/src/builders/github-create-or-update-pr-options.ts:12

Configuration options for the GitHub pull-request step builder (github.createOrUpdatePr).

Binds the target repository, API token, synchronous input-to-PR field projections, and optional initial input/output Zod validation schemas.

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownStep input payload type projected into pull request fields.
TOutunknownStep output payload type validated on step completion.

Properties ​

PropertyModifierTypeDescriptionDefined in
baseBranch?readonlyBivariantCallback<[input: TIn], string>Optional synchronous projection deriving the target base branch name from TIn.github/src/builders/github-create-or-update-pr-options.ts:20
bodyreadonlyBivariantCallback<[input: TIn], string>Synchronous projection deriving the pull request markdown body from TIn.github/src/builders/github-create-or-update-pr-options.ts:24
branchreadonlyBivariantCallback<[input: TIn], string>Synchronous projection deriving the source feature branch name from TIn.github/src/builders/github-create-or-update-pr-options.ts:18
inputSchema?readonlyZodType<TIn, unknown, $ZodTypeInternals<TIn, unknown>>Optional Zod schema validating the step input payload.github/src/builders/github-create-or-update-pr-options.ts:26
outputSchema?readonlyZodType<TOut, unknown, $ZodTypeInternals<TOut, unknown>>Optional Zod schema validating the step output payload.github/src/builders/github-create-or-update-pr-options.ts:28
reporeadonlystringGitHub repository slug in owner/repo format.github/src/builders/github-create-or-update-pr-options.ts:14
titlereadonlyBivariantCallback<[input: TIn], string>Synchronous projection deriving the pull request title from TIn.github/src/builders/github-create-or-update-pr-options.ts:22
tokenreadonlystring | EnvRefGitHub API token or symbolic P.env(...) reference.github/src/builders/github-create-or-update-pr-options.ts:16

Released under the MIT License.