Skip to content

Commit

Permalink
👷(ci) update gitmojis json url
Browse files Browse the repository at this point in the history
The repostiory containing the list of valid emojis just got transformed
into a monorepo causing the old url to be obsolete.
  • Loading branch information
NathanVss committed Jan 5, 2023
1 parent fa46237 commit 7a61402
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 7a61402

Please sign in to comment.