Skip to content

Commit e3f4b92

Browse files
committed
ci: trigger release on docs commits
1 parent 79447bc commit e3f4b92

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/semantic-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
with:
2626
ci: ${{ github.ref == 'refs/heads/main' }}
2727
extra_plugins: |
28+
conventional-changelog-conventionalcommits
2829
semantic-release-mirror-version
2930
semantic-release-stack-upload
3031

.releaserc.mjs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ export default {
55
branches: ["main"],
66
tagFormat: "${version}",
77
plugins: [
8-
"@semantic-release/commit-analyzer",
8+
[
9+
"@semantic-release/commit-analyzer",
10+
{
11+
"preset": "conventionalcommits",
12+
"releaseRules": [
13+
{ "type": "docs", "release": "patch" }
14+
]
15+
}
16+
],
917
"@semantic-release/release-notes-generator",
1018
[
1119
"semantic-release-mirror-version",

0 commit comments

Comments
 (0)