@@ -149,34 +149,53 @@ See:
149149
150150See [ VERSIONING.md] ( VERSIONING.md ) for a full description. TL;DR:
151151
152- Every PR should be annotated with an icon indicating whether it's
153- a:
152+ ### PR Title Format
154153
155- - Breaking change: :warning : (` :warning: ` )
156- - Non-breaking feature: :sparkles : (` :sparkles: ` )
157- - Patch fix: :bug : (` :bug: ` )
158- - Docs: :book : (` :book: ` )
159- - Infra/Tests/Other: :seedling : (` :seedling: ` )
154+ PR titles use ** emojis** (appear in release notes). Format: ` :emoji: (plugin/version): Description `
160155
161- Use :ghost : (no release note) only for the PRs that change or revert unreleased
162- changes, which don't deserve a release note. Please don't abuse it.
156+ ** Emojis:**
157+ - ⚠️ (` :warning: ` ) - Breaking change
158+ - ✨ (` :sparkles: ` ) - New feature
159+ - 🐛 (` :bug: ` ) - Bug fix
160+ - 📖 (` :book: ` ) - Documentation
161+ - 🌱 (` :seedling: ` ) - Infrastructure/tests/refactor
162+ - 👻 (` :ghost: ` ) - No release note (unreleased changes only)
163163
164- You can also use the equivalent emoji directly, since GitHub doesn't
165- render the ` :xyz: ` aliases in PR titles.
164+ ** Examples:**
165+ ```
166+ 🐛 Resolve nil pointer panic in scaffold generator
167+ ✨ (helm/v2-alpha): Add cluster-scoped resource support
168+ 📖 (go/v4): Update deployment documentation
169+ ✨ Update dependencies to latest versions
170+ 🌱 Add new GitHub action to test out doc samples
171+ ```
172+
173+ ### Commit Message Format
174+
175+ Commit messages follow the [ Conventional Commits] ( https://www.conventionalcommits.org/ ) standard.
166176
167- If the PR is "plugin" scoped, you may also append the responding plugin names in the prefix.
168- [ For instance] ( https://github.com/kubernetes-sigs/kubebuilder/commit/0b36d0c4021bbf52f29d5a990157466761ec180c ) :
177+ Format: ` <type>[optional scope]: <description> `
169178
179+ The ` [optional scope] ` is typically the plugin/version (e.g., ` helm/v2-alpha ` , ` go/v4 ` ); omit it for repo-wide or non-plugin changes.
180+
181+ ** Types:**
182+
183+ - ** feat** : A new feature for the user or a plugin
184+ - ** fix** : A bug fix for the user or a plugin
185+ - ** docs** : Documentation changes only
186+ - ** test** : Adding or updating tests
187+ - ** refactor** : Code change that neither fixes a bug nor adds a feature
188+ - ** chore** : Changes to build process, dependencies, or maintenance tasks
189+ - ** breaking** : A breaking change (can be combined with other types)
190+
191+ ** Examples:**
170192```
171- 🐛 (kustomize/v2-alpha): Fix typo issue in the labels added to the manifests
193+ fix: Resolve nil pointer panic in scaffold generator
194+ feat(helm/v2-alpha): Add cluster-scoped resource support
195+ docs(go/v4): Update deployment documentation
196+ chore: Update dependencies to latest versions
172197```
173198
174- Individual commits should not be tagged separately, but will generally be
175- assumed to match the PR. For instance, if you have a bugfix in with
176- a breaking change, it's generally encouraged to submit the bugfix
177- separately, but if you must put them in one PR, mark the commit
178- separately.
179-
180199## Where the CI Tests are configured
181200
1822011 . See the [ action files] ( .github/workflows ) to check its tests, and the scripts used on it.
0 commit comments