GitHub Commit Labels

Enhances GitHub commits with beautiful labels for conventional commit types (feat, fix, docs, etc.)

< Feedback on GitHub Commit Labels

Question/comment

§
Posted: 2025/04/26

Hello,

I just like to know if your script is for those who have repositories on GitHub or for everyone please ?

Because after installing your script, no labels are displayed on my side for example here :
-> https://github.com/refined-github/refined-github/commits/main/
-> https://github.com/Tampermonkey/tampermonkey/commits/master/

Thank you for your answer.

Google Chrome and Mozilla Firefox Browsers with Tampermonkey or Violentmonkey

nazdridoyAuthor
§
Posted: 2025/04/26
Edited: 2025/04/26

Hi, this script should work for anyone using GitHub repositories, whether it's your own or someone else's. However, the script will only display labels for repositories that follow a Git commit message convention.

See: -> https://github.com/refined-github/sandbox/commits/conventional-commits/ -> https://github.com/nazdridoy/ngpt/commits/main/ -> https://github.com/nazdridoy/kokoro-tts/commits/main -> https://github.com/conventional-changelog/standard-version/commits

Example Commit Formats Here are some examples of how to format your commits to get the labels:

# Basic format
feat: add new login functionality
fix: resolve authentication bug
docs: update API documentation

# With scope
feat(auth): implement OAuth2 login
fix(api): handle rate limiting errors
feat!(auth): implement breaking change in auth
refactor!(parser): rewrite parser logic (breaking change)
docs(readme): add installation guide
style(button): improve hover effects
refactor(service): clean up user service code
perf(db): optimize database queries
test(auth): add unit tests for auth service

Post reply

Sign in to post a reply.