MCPcopy
hub / github.com/Dokploy/dokploy / issueCommentExists

Function issueCommentExists

packages/server/src/services/github.ts:110–128  ·  view source on GitHub ↗
({
	owner,
	repository,
	comment_id,
	githubId,
}: CommentExists)

Source from the content-addressed store, hash-verified

108 githubId: string;
109}
110export const issueCommentExists = async ({
111 owner,
112 repository,
113 comment_id,
114 githubId,
115}: CommentExists) => {
116 const github = await findGithubById(githubId);
117 const octokit = authGithub(github);
118 try {
119 await octokit.rest.issues.getComment({
120 owner: owner || "",
121 repo: repository || "",
122 comment_id: comment_id,
123 });
124 return true;
125 } catch {
126 return false;
127 }
128};
129interface Comment {
130 owner: string;
131 repository: string;

Callers 2

deployPreviewApplicationFunction · 0.90

Calls 2

authGithubFunction · 0.90
findGithubByIdFunction · 0.85

Tested by

no test coverage detected