Skip to content

Commit b765474

Browse files
authored
chore(ci): Add release workflow (#2)
1 parent ff2cbb8 commit b765474

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/release_pr.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: release-please
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
release-please:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: google-github-actions/release-please-action@v3
12+
id: release
13+
with:
14+
release-type: python
15+
package-name: plugin-pb-python
16+
token: ${{ secrets.GH_CQ_BOT }}
17+
pull-request-title-pattern: "chore${scope}: Release${component} v${version}"
18+
# Should breaking changes before 1.0.0 produce minor bumps?
19+
bump-minor-pre-major: true
20+
# Should feat changes before 1.0.0 produce patch bumps instead of minor bumps?
21+
bump-patch-for-minor-pre-major: true

0 commit comments

Comments
 (0)