We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c11b5b commit 0439aceCopy full SHA for 0439ace
scanner/slo.ts
@@ -28,7 +28,7 @@ const sloLabels = {
28
* It's also possible to define a custom isTriaged predicate for each repository.
29
*/
30
export function hasLabels(repo: Pick<Repository, 'nameWithOwner' | 'labels'>): boolean {
31
- return hasTriagePredicate(repo.nameWithOwner) || repo.labels.nodes.some(labelNode => labelNode.name === PRIORITY_EVENTUALLY);
+ return hasTriagePredicate(repo.nameWithOwner) || repo.labels.nodes.some(labelNode => labelNode.name.toLowerCase() === PRIORITY_EVENTUALLY);
32
}
33
34
export function whichSlo(repoNameWithOwner: string, issue: Pick<IssueOrPr, 'labels' | 'isDraft'>): SloType {
0 commit comments