UNPKG

backport

Version:

A CLI tool that automates the process of backporting commits

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