(collectionName: string, slug: string)
| 725 | } |
| 726 | |
| 727 | async publishUnpublishedEntry(collectionName: string, slug: string) { |
| 728 | const contentKey = generateContentKey(collectionName, slug); |
| 729 | const branch = branchFromContentKey(contentKey); |
| 730 | const pullRequest = await this.getBranchPullRequest(branch); |
| 731 | await this.completePullRequest(pullRequest); |
| 732 | } |
| 733 | |
| 734 | async updatePullRequestLabels(pullRequest: AzurePullRequest, labels: string[]) { |
| 735 | const cmsLabels = pullRequest.labels.filter(l => isCMSLabel(l.name, this.cmsLabelPrefix)); |
nothing calls this directly
no test coverage detected