(
key: IntegrationTaskKey,
params: {
owner: string;
repo: string;
tag: string;
message: string;
object: string;
type: TagType;
tagger?: TaggerContent;
}
)
| 328 | } |
| 329 | |
| 330 | createTag( |
| 331 | key: IntegrationTaskKey, |
| 332 | params: { |
| 333 | owner: string; |
| 334 | repo: string; |
| 335 | tag: string; |
| 336 | message: string; |
| 337 | object: string; |
| 338 | type: TagType; |
| 339 | tagger?: TaggerContent; |
| 340 | } |
| 341 | ): GitHubReturnType<Octokit["rest"]["git"]["createTag"]> { |
| 342 | return this.runTask( |
| 343 | key, |
| 344 | async (client, task) => { |
| 345 | const result = await client.rest.git.createTag(params); |
| 346 | return result.data; |
| 347 | }, |
| 348 | { |
| 349 | name: "Create Tag", |
| 350 | params, |
| 351 | properties: [ |
| 352 | ...repoProperties(params), |
| 353 | { |
| 354 | label: "Tag", |
| 355 | text: params.tag, |
| 356 | }, |
| 357 | { |
| 358 | label: "Message", |
| 359 | text: params.message, |
| 360 | }, |
| 361 | { |
| 362 | label: "Object", |
| 363 | text: params.object, |
| 364 | }, |
| 365 | { |
| 366 | label: "Tag Type", |
| 367 | text: params.type, |
| 368 | }, |
| 369 | ], |
| 370 | }, |
| 371 | onError |
| 372 | ); |
| 373 | } |
| 374 | |
| 375 | getTag( |
| 376 | key: IntegrationTaskKey, |
nothing calls this directly
no test coverage detected