(name: string)
| 759 | } |
| 760 | |
| 761 | async getOrCreateLabel(name: string): Promise<ForgejoLabel> { |
| 762 | const labels = await this.getLabels(); |
| 763 | const existing = labels.find(l => l.name === name); |
| 764 | if (existing) { |
| 765 | return existing; |
| 766 | } |
| 767 | return this.createLabel(name); |
| 768 | } |
| 769 | |
| 770 | async setPullRequestStatus(pullRequest: ForgejoPullRequest, status: string): Promise<void> { |
| 771 | // Skip label updates for open authoring as contributors don't have permission |
no test coverage detected