You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+26-1
Original file line number
Diff line number
Diff line change
@@ -75,14 +75,39 @@ cd kustomize
75
75
git push origin myfeature
76
76
```
77
77
78
+
### Pull Request Rules
79
+
80
+
We are using [Conventional Commits v1.0.0](https://www.conventionalcommits.org/en/v1.0.0/) as the main guideline of making PR. This guideline serves to help contributor and maintainer to classify their changes, thus providing better insight on type of release will be covered on each Kustomize release cycle.
81
+
82
+
1. Please add these keywords on your PR titles accordingly
83
+
84
+
| Keyword | Description | Example |
85
+
| ------------- | ------------- | ------------- |
86
+
| fix | Patching or fixing bugs or improvements introduction from previous release. This type of change will mark a `PATCH` release. | fix: fix null value when generating yaml |
87
+
| feat | New features. This change will mark a `MINOR` release. | feat: new transformer and generator for ACME API CRD. |
88
+
| chore | Minor improvement outside main code base | chore: add exclusion for transformer test. |
89
+
| ci | CI/CD related changes (e.g. github workflow, scripts, CI steps). | ci: remove blocking tests |
90
+
| docs | Changes related to documentation. | docs: add rules documentation for PR. |
91
+
92
+
93
+
2. Add `BREAKING CHANGE:` on your commit message as footer to signify breaking changes. This will help maintainers identify `MAJOR` releases.
94
+
95
+
Example:
96
+
97
+
```
98
+
feat: change YAML parser from `yaml/v1` to `yaml/v2`
99
+
100
+
BREAKING CHANGE: parse() function now works with 2 arguments.
101
+
```
102
+
78
103
### Create a Pull Request
104
+
79
105
1. Visit your fork at `https://github.com/<user>/kustomize`
80
106
2. Click the **Compare & Pull Request** button next to your `myfeature` branch.
81
107
3. Check out the pull request [process](https://github.com/kubernetes/community/blob/master/contributors/guide/pull-requests.md) for more details and advice.
82
108
83
109
If you ran `git push` in the previous step, GitHub will return a useful link to create a Pull Request.
84
110
85
-
86
111
### Build Kustomize
87
112
The [Kustomize Architecture] document describes the respository organization and the kustomize build process.
0 commit comments