Skip to content

Interface: GithubCreateOrUpdatePrNode<TIn, TOut, THandle> ​

Defined in: core/dist/ast/domain/github-create-or-update-pr-node.d.ts:14

Passive AST node creating or updating a GitHub pull request (github.createOrUpdatePr).

Idempotently opens a new pull request or updates an existing open pull request for branch against baseBranch in repo.

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownValidated step input type.
TOutunknownValidated step output type.
THandleunknownIsolation scope handle type.

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: THandle], void>Phantom type brand binding the step to its compatible scope handle type.BaseDomainStepASTNode.__handleBrandcore/dist/ast/base/base-domain-step-ast-node.d.ts:24
baseBranch?readonlyBivariantCallback<[input: TIn], string>Optional pure projection deriving the target base branch name from TIn.-core/dist/ast/domain/github-create-or-update-pr-node.d.ts:22
bodyreadonlyBivariantCallback<[input: TIn], string>Pure projection deriving the pull request body from TIn.-core/dist/ast/domain/github-create-or-update-pr-node.d.ts:26
branchreadonlyBivariantCallback<[input: TIn], string>Pure projection deriving the head branch name from TIn.-core/dist/ast/domain/github-create-or-update-pr-node.d.ts:20
idreadonlystringLogical identifier of the step node.BaseDomainStepASTNode.idcore/dist/ast/base/base-domain-step-ast-node.d.ts:18
inputSchemareadonlyZodType<TIn>Zod schema validating the step's input payload at entry.BaseDomainStepASTNode.inputSchemacore/dist/ast/base/base-domain-step-ast-node.d.ts:20
outputSchemareadonlyZodType<TOut>Zod schema validating the step's output payload at exit.BaseDomainStepASTNode.outputSchemacore/dist/ast/base/base-domain-step-ast-node.d.ts:22
reporeadonlystringGitHub repository slug in owner/repo format.-core/dist/ast/domain/github-create-or-update-pr-node.d.ts:16
titlereadonlyBivariantCallback<[input: TIn], string>Pure projection deriving the pull request title from TIn.-core/dist/ast/domain/github-create-or-update-pr-node.d.ts:24
tokenreadonlystring | EnvRefGitHub API token or symbolic EnvRef.-core/dist/ast/domain/github-create-or-update-pr-node.d.ts:18
typereadonly"github:create-or-update-pr"Unique string-literal discriminant of the domain step node.BaseDomainStepASTNode.typecore/dist/ast/base/base-domain-step-ast-node.d.ts:16

Released under the MIT License.