fix(labels): add duplicate check before creating labels #116
Reference in New Issue
Block a user
Delete Branch "fix/labels-duplicate-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checks if label exists before creating. Handles format variations (Type/Bug vs Type: Bug). Returns {skipped: true} if exists.
Changes
create_label_smart()to check for duplicate labels before creation{skipped: true}when label already existsTesting
create_label_smart now checks if label already exists before creating. - Checks both org and repo labels - Handles format variations (Type/Bug vs Type: Bug) - Returns {skipped: true} if label already exists - Prevents duplicate label creation errors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>