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
We use [gitmoji](https://gitmoji.dev/) for commit messages to standardize and improve readability.
9
+
10
+
### Commit message rules
11
+
12
+
The rules are enforced by the `danger` CI bot. Make sure each commit message follows **all** of these requirements:
13
+
14
+
- **Start with a [gitmoji](https://gitmoji.dev/)** (which can be viewed with `pnpm gitmoji --list`)
15
+
- Follow with a **space**
16
+
- Specify a **scope** in parentheses, all in **lowercase**
17
+
Example:
18
+
- `(signer-eth)`
19
+
- `(context-module)`
20
+
- `(chore)`
21
+
- `(release)`
22
+
- `(ci)`
23
+
- Do **not** repeat JIRA ticket tags (e.g. `[DSDK-1234]`, `[NO-ISSUE]`) in your commit message—these tags are optional for commits and required in PR titles.
24
+
- Add a **colon `:` and a space**
25
+
- Write a message that **starts with a capital letter**
26
+
27
+
**Pattern:**
28
+
29
+
```
30
+
<gitmoji> (scope): Description starting with capital letter
31
+
```
32
+
33
+
**Examples:**
34
+
35
+
- `💚 (api): Add new endpoint`
36
+
- `✨ (cli): Support new flags`
37
+
- `🐛 (parser): Fix buffer overflow`
38
+
39
+
**Special notes:**
40
+
41
+
If you're unsure which gitmoji to use, you can list all available emojis with:
42
+
43
+
```
44
+
pnpm gitmoji --list
45
+
```
46
+
47
+
You can also see commit message examples by running:
48
+
49
+
```
50
+
git log --oneline
51
+
```
52
+
53
+
Refer to these resources to help you select appropriate emojis and follow the commit convention.
54
+
55
+
For more details or troubleshooting, see [CONTRIBUTING.md](https://github.com/LedgerHQ/device-sdk-ts/blob/develop/CONTRIBUTING.md).
56
+
57
+
Commits that don't follow this convention will fail CI and block merging.
0 commit comments