(
key: IntegrationTaskKey,
params: {
owner: string;
repo: string;
ref: string;
}
)
| 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, |
nothing calls this directly
no test coverage detected