Skip to content

Interface: GitCommitAndPushBuilder<TIn> ​

Defined in: git/src/builders/git-commit-and-push-builder.ts:18

Fluent builder for a retry-safe commit, rebase, and push domain step (git.commitAndPush).

Compiles into a passive GitCommitAndPushNode<TIn> (type: 'git:commit-and-push') dispatched via RuntimeExecutorRegistry.steps['git:commit-and-push'].

Extends ​

Type Parameters ​

Type ParameterDefault typeDescription
TInunknownStep input payload type.

Methods ​

env() ​

ts
env(env): GitCommitAndPushBuilder<TIn>;

Defined in: git/src/builders/git-commit-and-push-builder.ts:55

Binds environment variables or symbolic P.env(key) references injected into git commands.

Symbolic EnvRef values are preserved in the AST and resolved exclusively at runtime execution.

Parameters ​

ParameterTypeDescription
envReadonly<Record<string, string | EnvRef>>Environment map to attach to the step node.

Returns ​

GitCommitAndPushBuilder<TIn>

Updated immutable step builder instance.


input() ​

ts
input<TNextIn>(schema): GitCommitAndPushBuilder<TNextIn>;

Defined in: git/src/builders/git-commit-and-push-builder.ts:31

Binds a Zod schema validating the step input payload passed to branch(input) and message(input).

Narrows or updates the builder's TIn type parameter to match the supplied schema.

Type Parameters ​

Type ParameterDefault typeDescription
TNextInTInUpdated step input payload type inferred from schema.

Parameters ​

ParameterTypeDescription
schemaZodType<TNextIn>Zod schema for step input validation.

Returns ​

GitCommitAndPushBuilder<TNextIn>

Updated immutable step builder instance.


runner() ​

ts
runner(runner): GitCommitAndPushBuilder<TIn>;

Defined in: git/src/builders/git-commit-and-push-builder.ts:44

Binds the NodeRunnerNode pool governing git and verification subprocess concurrency.

Accepts either a compiled NodeRunnerNode or a fluent AstBuilder<NodeRunnerNode>.

Parameters ​

ParameterTypeDescription
runnerMaybeBuilder<NodeRunnerNode>Runner pool descriptor or builder.

Returns ​

GitCommitAndPushBuilder<TIn>

Updated immutable step builder instance.


toAST() ​

ts
toAST(): GitCommitAndPushNode;

Defined in: core/dist/ast/ast-builder.d.ts:19

Compiles the current builder configuration into a deeply frozen passive AST node.

Validates required builder invariants at compilation time and returns an immutable plain-object AST representation containing zero execution methods.

Returns ​

GitCommitAndPushNode

Deeply frozen passive AST node.

Inherited from ​

AstBuilder.toAST

Released under the MIT License.