Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Community board automations: ignore case for Track (#65224)

Lena24aabd3fa640
diff --git a/script/github_helpers.py b/script/github_helpers.py
index 42826d36c22..b49357dd417 100644
--- a/script/github_helpers.py
+++ b/script/github_helpers.py
@@ -180,7 +180,8 @@ def set_github_project_field(project, item_id, field_name, option_name):
(
option["id"]
for option in field.get("options", [])
- if option["name"] == option_name
+ # Case-insensitive mainly for Track, which has a mapping maintained manually
+ if option["name"].casefold() == option_name.casefold()
),
None,
)