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