MCPcopy Index your code
hub / github.com/ampproject/amphtml / getGithubIssues

Function getGithubIssues

build-system/common/update-session-issues/index.js:197–202  ·  view source on GitHub ↗

* @param {string} token * @param {string} repo * @param {Array } labels * @return {Promise }

(token, repo, labels)

Source from the content-addressed store, hash-verified

195 * @return {Promise<Object>}
196 */
197async function getGithubIssues(token, repo, labels) {
198 const url = `/repos/${repo}/issues?state=open&labels=${encodeURIComponent(
199 labels.join(',')
200 )}`;
201 return requestGithub(token, url);
202}
203
204/**
205 * @param {string} token

Callers 1

Calls 1

requestGithubFunction · 0.85

Tested by

no test coverage detected