Method
addLabel
(
label: string | undefined,
color = "ededed",
description = "",
)
Source from the content-addressed store, hash-verified
| 443 | } |
| 444 | |
| 445 | private async addLabel( |
| 446 | label: string | undefined, |
| 447 | color = "ededed", |
| 448 | description = "", |
| 449 | ): Promise<void> { |
| 450 | if (!label) return; |
| 451 | |
| 452 | await this.github.issues.createLabel({ |
| 453 | owner: this.owner, |
| 454 | repo: this.repo, |
| 455 | name: label, |
| 456 | color, |
| 457 | description, |
| 458 | }); |
| 459 | } |
| 460 | |
| 461 | private async mergePR( |
| 462 | prNumber: number | undefined, |
Tested by
no test coverage detected