Skip to content

Commit

Permalink
👷(ci) update gitmojis json url
Browse files Browse the repository at this point in the history
The repository containing the list of valid emojis has just
got transformed into a monorepo causing the old url to be
obsolete.
  • Loading branch information
carofun committed Dec 29, 2022
1 parent 8bd5f93 commit a3110d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlint/gitlint_emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def validate(self, title, _commit):
title contains one of them.
"""
gitmojis = requests.get(
"https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json"
"https://raw.githubusercontent.com/carloscuesta/gitmoji/master/packages/gitmojis/src/gitmojis.json"
).json()["gitmojis"]
emojis = [item["emoji"] for item in gitmojis]
pattern = r"^({:s})\(.*\)\s[a-z].*$".format("|".join(emojis))
Expand Down

0 comments on commit a3110d1

Please sign in to comment.