Skip to content

GitUpstreamEntry

An upstream followed on a GitHub branch or tag, pinned to a commit.

Import:

import type { GitUpstreamEntry } from '@mnaoumov/typescript-dev-toolkit/upstream-sync';

Signature:

export interface GitUpstreamEntry

Properties

PropertyTypeDescription
commitstringThe pinned commit: the last upstream state the handler was run against.
handlerstringThe shell command that turns a newer upstream state into changes in this repository.
namestring
pathsreadonly string[]The paths watched upstream, as globs relative to the repository root. A move that touches none of them opens no PR.
refstringThe branch or tag followed.
repostring<owner>/<repo> on GitHub.
verify?stringThe shell command that checks the handler's result. Overrides the file's top-level verify.

Links to this page: