MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / getTag

Method getTag

integrations/github/src/git.ts:375–406  ·  view source on GitHub ↗
(
    key: IntegrationTaskKey,
    params: {
      owner: string;
      repo: string;
      tagSHA: string;
    }
  )

Source from the content-addressed store, hash-verified

373 }
374
375 getTag(
376 key: IntegrationTaskKey,
377 params: {
378 owner: string;
379 repo: string;
380 tagSHA: string;
381 }
382 ): GitHubReturnType<Octokit["rest"]["git"]["getTag"]> {
383 return this.runTask(
384 key,
385 async (client, task) => {
386 const result = await client.rest.git.getTag({
387 owner: params.owner,
388 repo: params.repo,
389 tag_sha: params.tagSHA,
390 });
391 return result.data;
392 },
393 {
394 name: "Get Tag",
395 params,
396 properties: [
397 ...repoProperties(params),
398 {
399 label: "Tag SHA",
400 text: params.tagSHA,
401 },
402 ],
403 },
404 onError
405 );
406 }
407
408 createTree(
409 key: IntegrationTaskKey,

Callers 1

github.tsFile · 0.80

Calls 2

repoPropertiesFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected