Repository navigation
Conversation
Yashh56
requested review from
a team,
Snailedlt,
canaleal,
lunatic-fox and
weh
and removed request for
a team
November 27, 2026 06:54
Yashh56
approved these changes
Nov 29, 2026
Yashh56
left a comment
Member
There was a problem hiding this comment.
LGTM 🚀
Thanks For Your Contribution 🙇🏻
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Double check these details before you open a PR
Features
Adds validation in
check_icon_pr.pyto rejectdevicon.jsonalias entries where"base"and"alias"have the same value, along with unit tests covering alias validation.Problem
Previously,
check_devicon_objectallowed an icon entry indevicon.jsonto define an alias with identical"base"and"alias"values (for example{"base": "plain", "alias": "plain"}). Because aliases are intended to generate an additional font class from another SVG version, identical"base"and"alias"values only duplicate the same class name.Root Cause
In
.github/scripts/check_icon_pr.py,check_devicon_objectvalidated that"base"and"alias"in each object oficon["aliases"]were strings matching(original|plain|line)(-wordmark)?, but never checked whetheralias_objects["base"] == alias_objects["alias"].Solution
check_devicon_objectin.github/scripts/check_icon_pr.pyto check each dictionary entry inicon["aliases"](whenaliasesis a list) and append an error message if both"base"and"alias"are strings with identical values..github/scripts/tests/test_check_icon_pr.pyusing Python's standard-libraryunittestmodule.Testing
python3 -m unittest discover -s .github/scripts/tests -v(6 tests passed).pytest .github/scripts/tests/test_check_icon_pr.py -v(6 passed).check_icon_pr.check_devicon_objectacross all 726 entries indevicon.json(0 errors found).This PR closes #1486
Closes #1486