kepler icon indicating copy to clipboard operation
kepler copied to clipboard

CI commit message check

Open SamYuan1990 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Try to add commit message check for each pr.

Describe the solution you'd like https://www.kubernetes.dev/docs/guide/pull-requests/#commit-message-guidelines

  • Try to keep the subject line to 50 characters or less; do not exceed 72 characters
  • Providing additional context if I am right means formatting in topic: something
  • The first word in the commit message subject should be capitalized unless it starts with a lowercase symbol or other identifier
  • Do not end the commit message subject with a period
  • Add a single blank line before the commit message body

Describe alternatives you've considered n/A

Additional context @SamYuan1990, could you try following the Kubernetes commit message guideline? https://www.kubernetes.dev/docs/guide/pull-requests/#commit-message-guidelines

It's good to provide meaningful messages with context!

Originally posted by @marceloamaral in https://github.com/sustainable-computing-io/kepler/issues/215#issuecomment-1253419614

SamYuan1990 avatar Sep 27 '22 13:09 SamYuan1990