Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit bc3b152

Browse files
ci: add release-please workflow (#1)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b8a4f67 commit bc3b152

3 files changed

Lines changed: 75 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release-please:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Run Release Please
16+
uses: googleapis/release-please-action@v4
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
config-file: .release-please-config.json

.release-please-config.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"packages": {
3+
".": {
4+
"changelog-path": "CHANGELOG.md",
5+
"release-type": "simple",
6+
"include-component-in-tag": false,
7+
"bump-minor-pre-major": true,
8+
"bump-patch-for-minor-pre-major": true,
9+
"changelog-sections": [
10+
{
11+
"type": "feat",
12+
"section": "Features"
13+
},
14+
{
15+
"type": "fix",
16+
"section": "Bug Fixes"
17+
},
18+
{
19+
"type": "refactor",
20+
"section": "Code Refactoring"
21+
},
22+
{
23+
"type": "perf",
24+
"section": "Performance Improvements"
25+
},
26+
{
27+
"type": "chore",
28+
"section": "Miscellaneous Chores"
29+
},
30+
{
31+
"type": "docs",
32+
"section": "Documentation Updates"
33+
},
34+
{
35+
"type": "ci",
36+
"section": "CI/CD Changes"
37+
},
38+
{
39+
"type": "style",
40+
"section": "Styling Changes"
41+
},
42+
{
43+
"type": "build",
44+
"section": "Build System"
45+
},
46+
{
47+
"type": "test",
48+
"section": "Tests"
49+
}
50+
]
51+
}
52+
}
53+
}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.1.0"
3+
}

0 commit comments

Comments
 (0)