From 24aabd3fa6401f01784e79d8924559dd2c435b20 Mon Sep 17 00:00:00 2001 From: Lena <241371603+zelenenka@users.noreply.github.com> Date: Tue, 6 Oct 2026 09:03:01 +0000 Subject: [PATCH] Community board automations: ignore case for Track (#65224) This is only really needed for Track, a custom field that has a manually-maintained mapping to the area labels on PRs, but it's a cheap enough operation for the rest of them. Follow-up to https://github.com/zed-industries/zed/pull/64650 Release Notes: - N/A --- script/github_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, )