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

Method deleteRef

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

Source from the content-addressed store, hash-verified

299 }
300
301 deleteRef(
302 key: IntegrationTaskKey,
303 params: {
304 owner: string;
305 repo: string;
306 ref: string;
307 }
308 ): GitHubReturnType<Octokit["rest"]["git"]["deleteRef"]> {
309 return this.runTask(
310 key,
311 async (client, task) => {
312 const result = await client.rest.git.deleteRef(params);
313 return result.data;
314 },
315 {
316 name: "Delete Reference",
317 params,
318 properties: [
319 ...repoProperties(params),
320 {
321 label: "Ref",
322 text: params.ref,
323 },
324 ],
325 },
326 onError
327 );
328 }
329
330 createTag(
331 key: IntegrationTaskKey,

Callers

nothing calls this directly

Calls 2

repoPropertiesFunction · 0.90
runTaskMethod · 0.45

Tested by

no test coverage detected