muni-town / weird

Weird web pages
https://weird.one
Other
44 stars 12 forks source link

Standardize Commit Message Format #83

Closed azzamsa closed 4 months ago

azzamsa commented 4 months ago

Hi everyone, 👋🏽

Should we start using a convention to standardize our commit messages? I propose we adopt the popular Angular Commit Message Format.

It's fine not to include the scope for now, but we should at least use the defined prefixes. This will prevent contributors from using arbitrary prefixes. Here are the prefixes we should use for each commit:

What do you all think? We should add this to our CONTRIBUTING.md documentation if we agree.

zicklag commented 4 months ago

Yes, I'm good with it. I've been using conventional commits, without scopes, for a bit now.

I'm not sure we need them yet, but I've been using these CI jobs to catch unconventional commits in Bones:

I haven't bothered with merge queues or anything yet, though. I've just been squash-merging pull requests ( where I can modify the commit message before merging ), and pushing directly to mater for many of my changes, just for speed's sake.

azzamsa commented 4 months ago

I'm not sure we need them yet, but I've been using these CI jobs to catch unconventional commits in Bones:

I've just been squash-merging pull requests

I am okay with the current situation; I just worry the repo will contain undesired formats or prefixes. Fortunately, we are on the same page.

azzamsa commented 4 months ago

Closing this issue because it is currently non-actionable.