🐛 fix: prefix dependabot commit message with ⬆️ gitmoji#23
Conversation
There was a problem hiding this comment.
Thanks for sending! But, this might not work? What does your local system say?
#24 is of note too.
| - "dependencies" No newline at end of file | ||
| - "dependencies" | ||
| commit-message: | ||
| prefix: "⬆️ " |
There was a problem hiding this comment.
Hmm, when I run this locally, I get a complaint:
~/repos/learning-typescript-projects$ echo "⬆️ build(deps-dev): bump ts-jest from 28.0.0 to 28.0.2" | npx commitlint
⧗ input: ⬆️ build(deps-dev): bump ts-jest from 28.0.0 to 28.0.2
✖ Your commit should start with gitmoji code,please check the emoji code on https://gitmoji.dev/. [start-with-gitmoji]
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 3 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlintDo you?
There was a problem hiding this comment.
I don't get this but, let me push a change in another format.. let me write it in gitmoji format instead of emoji.
There was a problem hiding this comment.
Can you try it now? I used gitmoji instead of emoji now.
There was a problem hiding this comment.
echo ":arrow_up: build(deps-dev): bump abc to 123" | npx commitlint works for me! 🚀
I can't find a way to get Dependabot to create a new pull request (do you know of one?), so I guess we have to ... wait until the next update comes in? 😂
There was a problem hiding this comment.
Yea we have to wait till another dependency update 😅
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
Let's try it out!
PR Checklist
Overview
I hope this fixes it @JoshuaKGoldberg .