(pr: GitHubPull, cmsLabelPrefix: string)
| 190 | }; |
| 191 | |
| 192 | function withCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) { |
| 193 | return pr.labels.some(l => isCMSLabel(l.name, cmsLabelPrefix)); |
| 194 | } |
| 195 | |
| 196 | function withoutCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) { |
| 197 | return pr.labels.every(l => !isCMSLabel(l.name, cmsLabelPrefix)); |
no test coverage detected