Skip to content

Commit 2ad4fef

Browse files
committed
👷(ci) update gitmojis json url
The repository containing the list of valid emojis has just got transformed into a monorepo causing the old url to be obsolete.
1 parent a423ea3 commit 2ad4fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlint/gitlint_emoji.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def validate(self, title, _commit):
2828
title contains one of them.
2929
"""
3030
gitmojis = requests.get(
31-
"https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json"
31+
"https://raw.githubusercontent.com/carloscuesta/gitmoji/master/packages/gitmojis/src/gitmojis.json"
3232
).json()["gitmojis"]
3333
emojis = [item["emoji"] for item in gitmojis]
3434
pattern = r"^({:s})\(.*\)\s[a-z].*$".format("|".join(emojis))

0 commit comments

Comments
 (0)