backport
Version:
A CLI tool that automates the process of backporting commits
12 lines (11 loc) • 418 B
TypeScript
import { ValidConfigOptions } from '../../../../options/options';
import { Commit } from '../../../sourceCommit/parseSourceCommit';
export declare function fetchCommitBySha(options: {
accessToken: string;
branchLabelMapping?: ValidConfigOptions['branchLabelMapping'];
githubApiBaseUrlV4?: string;
repoName: string;
repoOwner: string;
sha: string;
sourceBranch: string;
}): Promise<Commit>;