MCPcopy
hub / github.com/iterative/cml / commitCommentCreate

Method commitCommentCreate

src/drivers/github.js:109–120  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

107 }
108
109 async commitCommentCreate(opts = {}) {
110 const { report: body, commitSha } = opts;
111 const { repos } = octokit(this.token, this.repo);
112
113 return (
114 await repos.createCommitComment({
115 ...ownerRepo({ uri: this.repo }),
116 commit_sha: commitSha,
117 body
118 })
119 ).data.html_url;
120 }
121
122 async commitCommentUpdate(opts = {}) {
123 const { report: body, id } = opts;

Callers

nothing calls this directly

Calls 2

octokitFunction · 0.85
ownerRepoFunction · 0.85

Tested by

no test coverage detected