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
-[Type and Scope Reference](#Type-and-Scope-Reference)
21
+
-[PR Description](#PR-Description)
19
22
-[Special Situations And How To Deal With Them](#Special-Situations-And-How-To-Deal-With-Them)
20
23
-[Conduct](#Conduct)
21
24
@@ -172,8 +175,12 @@ The message header is a single line that contains succinct description of the ch
172
175
* refactor (refactoring production code)
173
176
* test (adding or refactoring tests. no production code change)
174
177
* chore (updating grunt tasks etc. no production code change)
178
+
* ci (CI/CD configuration)
179
+
* perf (performance improvement)
180
+
* build (build system changes)
181
+
* revert (reverting a previous commit)
175
182
176
-
The `scope` can be anything specifying place of the commit change. For example:`protobuf`,`api`,`test`,`docs`,`build`,`db`,`net`.You can use * if there isn't a more fitting scope.
183
+
The `scope` can be anything specifying place of the commit change. For example: `framework`, `api`, `tvm`, `db`,`net`. For a full list of scopes, see [Type and Scope Reference](#type-and-scope-reference). You can use `*` if there isn't a more fitting scope.
177
184
178
185
The subject contains a succinct description of the change:
179
186
1. Limit the subject line, which briefly describes the purpose of the commit, to 50 characters.
@@ -204,13 +211,96 @@ If the purpose of this submission is to modify one issue, you need to refer to t
204
211
4. Use `feature/` as the prefix of the `feature` branch, briefly describe the feature in the name, and connect words with underline (e.g., feature/new_resource_model, etc.).
205
212
### Pull Request Guidelines
206
213
214
+
#### PR Title Format
215
+
216
+
PR titles must follow the conventional commit format and will be checked by CI:
217
+
218
+
```
219
+
type(scope): description
220
+
```
221
+
222
+
| Rule | Requirement |
223
+
|------|-------------|
224
+
| Format | `type: description` or `type(scope): description` |
225
+
| Length | 10 ~ 72 characters |
226
+
| Type must be one of | `feat` `fix` `refactor` `docs` `style` `test` `chore` `ci` `perf` `build` `revert` |
0 commit comments