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
The description should describe _motivation_. Think about your code reviewers and what information they need in order to understand what you did. If it's a big commit (hopefully not), try to provide some good entry points so it will be easier to follow.
5
-
If not obvious (i.e. from unit tests), describe how you verified that your change works.
6
-
-->
7
-
8
-
## Commit Message
9
-
<!--Simply copy paste from the PR title and replace the necessary parts-->
* Push to a GitHub fork or to a branch (naming convention: `<user>/<feature-bug-name>`)
167
-
* Submit a Pull Request on GitHub and assign the PR for a review to the "aws/aws-cdk-team" team. The title and description will be used to format the commit message when its merged to master. This in turn, will translate to CHANGELOG entries. It is therefore important we be consistent and informative. Here is an example PR you should use as a reference: https://github.com/aws/aws-cdk/pull/6553.
167
+
Create a commit with the proposed change changes:
168
168
169
-
### Title
169
+
* Commit title and message (and PR title and description) must adhere to [conventionalcommits](https://www.conventionalcommits.org).
170
+
* The title must begin with `feat(module): title`, `fix(module): title`, `refactor(module): title` or
171
+
`chore(module): title`.
172
+
* Title should be lowercase.
173
+
* No period at the end of the title.
170
174
171
-
* Must adhere to [conventionalcommits](https://www.conventionalcommits.org).
172
-
* The title must begin with one of:
173
-
-`feat(module): title`
174
-
-`fix(module): title`
175
-
-`refactor(module): title`
176
-
-`chore(module): title`
177
-
* Should be lowercase.
178
-
* No period at the end.
175
+
* Commit message should describe _motivation_. Think about your code reviewers and what information they need in
176
+
order to understand what you did. If it's a big commit (hopefully not), try to provide some good entry points so
177
+
it will be easier to follow.
179
178
179
+
* Commit message should indicate which issues are fixed: `fixes #<issue>` or `closes #<issue>`.
180
180
181
-
### Description
181
+
* Shout out to collaborators.
182
182
183
-
* Simply follow the PR template carefully.
183
+
* If not obvious (i.e. from unit tests), describe how you verified that your change works.
184
184
185
+
* If this commit includes breaking changes, they must be listed at the end in the following format (notice how multiple breaking changes should be formatted):
185
186
187
+
```
188
+
BREAKING CHANGE: Description of what broke and how to achieve this behavior now
189
+
* **module-name:** Another breaking change
190
+
* **module-name:** Yet another breaking change
191
+
```
192
+
193
+
### Step 5: Pull Request
194
+
195
+
* Push to a GitHub fork or to a branch (naming convention: `<user>/<feature-bug-name>`)
196
+
* Submit a Pull Requests on GitHub and assign the PR for a review to the "awslabs/aws-cdk" team.
186
197
* Please follow the PR checklist written below. We trust our contributors to self-check, and this helps that process!
187
198
* Discuss review comments and iterate until you get at least one “Approve”. When iterating, push new commits to the
188
199
same branch. Usually all these are going to be squashed when you merge to master. The commit messages should be hints
189
200
for you when you finalize your merge commit message.
190
-
* Make sure to update the PR title/description if things change.
201
+
* Make sure to update the PR title/description if things change. The PR title/description are going to be used as the
202
+
commit title/message and will appear in the CHANGELOG, so maintain them all the way throughout the process.
191
203
192
204
193
205
194
-
### Step 5: Merge
206
+
### Step 6: Merge
195
207
196
208
* Make sure your PR builds successfully (we have CodeBuild setup to automatically build all PRs)
197
209
* Once approved and tested, a maintainer will squash-merge to master and will use your PR title/description as the
0 commit comments