UNPKG

backport

Version:

A CLI tool that automates the process of backporting commits

12 lines (11 loc) 436 B
import type { ValidConfigOptions } from '../../../../options/options.js'; import type { Commit } from '../../../sourceCommit/parse-source-commit.js'; export declare function fetchCommitBySha(options: { githubToken: string; branchLabelMapping?: ValidConfigOptions['branchLabelMapping']; githubApiBaseUrlV4?: string; repoName: string; repoOwner: string; sha: string; sourceBranch: string; }): Promise<Commit>;