diff --git a/Src/repositories.php b/Src/repositories.php index 1a91aa7..47b6979 100644 --- a/Src/repositories.php +++ b/Src/repositories.php @@ -66,7 +66,8 @@ function createRepositoryLabels($metadata, $options) $labelsToUpdateObject = array(); $labelsToCreate = array_filter($labelsToCreate, function ($label) use ($existingLabels, &$labelsToUpdateObject, $style) { $existingLabel = array_filter($existingLabels, function ($existingLabel) use ($label) { - return $existingLabel["name"] === $label["text"] || $existingLabel["name"] === $label["textWithIcon"]; + return strtolower($existingLabel["name"]) === strtolower($label["text"]) || + strtolower($existingLabel["name"]) === strtolower($label["textWithIcon"]); }); $total = count($existingLabel);