@cdwr/core
Version:
A set of core utilities for the Codeware ecosystem.
11 lines (10 loc) • 356 B
TypeScript
/**
* Add a comment to a pull request.
*
* @param token - The GitHub token
* @param pullRequest - The pull request number
* @param comment - The comment to add
* @returns The comment ID
* @throws If the comment cannot be added
*/
export declare const addPullRequestComment: (token: string, pullRequest: number, comment: string) => Promise<number>;