Skip to content

Commit

Permalink
🩹 Fix label casing in github issue
Browse files Browse the repository at this point in the history
The priority labels are labeled `P0`, `P1`, etc in uppercase; but the
workflow recently added was using lowercase. This corrects the casing.
  • Loading branch information
bitwizeshift committed Dec 27, 2023
1 parent da35755 commit e506ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/community-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
});
}
let labels = issue.labels?.map((v) => v.name).filter((v) => ["p0", "p1", "p2", "p3"].includes(v));
let labels = issue.labels?.map((v) => v.name).filter((v) => ["P0", "P1", "P2", "P3"].includes(v));
if (labels?.length == 0) {
core.notice("No priority assigned")
github.rest.issues.addLabels({
Expand Down

0 comments on commit e506ef0

Please sign in to comment.