mirror of
https://github.com/zed-industries/zed.git
synced 2026-10-19 11:04:06 +00:00
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
This commit is contained in:
parent
c31280f1b8
commit
24aabd3fa6
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue