Skip to content

Commit de201dc

Browse files
authored
chore: use ! for breaking changes (#6994)
Signed-off-by: knqyf263 <[email protected]>
1 parent 979e118 commit de201dc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/semantic-pr.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
chore
3030
revert
3131
release
32-
BREAKING
3332
3433
scopes: |
3534
vuln

docs/community/contribute/pr.md

+8
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,20 @@ others:
185185

186186
The `<scope>` can be empty (e.g. if the change is a global or difficult to assign to a single component), in which case the parentheses are omitted.
187187

188+
**Breaking changes**
189+
190+
A PR, introducing a breaking API change, needs to append a `!` after the type/scope.
191+
188192
### Example titles
189193

190194
```
191195
feat(alma): add support for AlmaLinux
192196
```
193197

198+
```
199+
feat(vuln)!: delete the existing CLI flag
200+
```
201+
194202
```
195203
fix(oracle): handle advisories with ksplice versions
196204
```

0 commit comments

Comments
 (0)