UNPKG

github-pr-automation

Version:

MCP server and CLI for automated GitHub PR management, review resolution, and workflow optimization

30 lines 957 B
import type { GitHubClient } from "../../github/client.js"; export interface RebaseAfterSquashMergeInput { pr: string; upstream_pr?: string; target_branch?: string; } export interface RebaseAfterSquashMergeOutput { pr: string; analysis: { upstream_pr?: string; detected_squash_merge: boolean; }; commands: Array<{ step: number; command: string; description: string; }>; summary: { action_required: boolean; reason: string; }; } /** * Generate rebase commands after upstream PR was squash-merged * @param client - GitHub client instance * @param input - Input containing PR identifier and optional target branch * @returns Promise resolving to rebase command output */ export declare function handleRebaseAfterSquashMerge(client: GitHubClient, input: RebaseAfterSquashMergeInput): Promise<RebaseAfterSquashMergeOutput>; //# sourceMappingURL=handler.d.ts.map