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