@@ -228,7 +228,7 @@ export default async function summarizeChecks({ github, context, core }) {
228
228
}
229
229
230
230
/**
231
- * @param {( import("@octokit/core").Octokit & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; }) } github
231
+ * @param {import('@actions/github-script').AsyncFunctionArguments['github'] } github
232
232
* @param {import('@actions/github').context } context
233
233
* @param {typeof import("@actions/core") } core
234
234
* @param {string } owner
@@ -324,8 +324,8 @@ export async function summarizeChecksImpl(
324
324
}
325
325
326
326
/**
327
- * @param {( import("@octokit/core").Octokit & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; }) } github
328
- * @param {typeof import(" @actions/core") } core
327
+ * @param {import('@actions/github-script').AsyncFunctionArguments['github'] } github
328
+ * @param {import(' @actions/github-script').AsyncFunctionArguments['core'] } core
329
329
* @returns {Promise<void> }
330
330
*/
331
331
export async function logGitHubRateLimitInfo ( github , core ) {
@@ -403,7 +403,7 @@ function getGraphQLQuery(owner, repo, sha, prNumber) {
403
403
// #endregion
404
404
// #region label update
405
405
/**
406
- * @param {( import("@octokit/core").Octokit & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; }) } github
406
+ * @param {import('@actions/github-script').AsyncFunctionArguments['github'] } github
407
407
* @param {import('@actions/github').context } context
408
408
* @param {typeof import("@actions/core") } core
409
409
* @param {string } owner
@@ -481,7 +481,7 @@ export async function handleLabeledEvent(
481
481
// #endregion
482
482
// #region checks
483
483
/**
484
- * @param {( import("@octokit/core").Octokit & import("@octokit/plugin-rest-endpoint-methods/dist-types/types.js").Api & { paginate: import("@octokit/plugin-paginate-rest").PaginateInterface; }) } github
484
+ * @param {import('@actions/github-script').AsyncFunctionArguments['github'] } github
485
485
* @param {typeof import("@actions/core") } core
486
486
* @param {string } owner - The repository owner.
487
487
* @param {string } repo - The repository name.
0 commit comments