From e33647548e6de2fb72eac75879a51416e9dfdfa6 Mon Sep 17 00:00:00 2001 From: erezrokah Date: Fri, 28 Jul 2023 10:09:49 +0200 Subject: [PATCH] chore(ci): Add release workflow --- .github/workflows/release_pr.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release_pr.yml diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml new file mode 100644 index 0000000..5cd7917 --- /dev/null +++ b/.github/workflows/release_pr.yml @@ -0,0 +1,21 @@ +name: release-please +on: + push: + branches: + - main + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + id: release + with: + release-type: python + package-name: plugin-pb-python + token: ${{ secrets.GH_CQ_BOT }} + pull-request-title-pattern: "chore${scope}: Release${component} v${version}" + # Should breaking changes before 1.0.0 produce minor bumps? + bump-minor-pre-major: true + # Should feat changes before 1.0.0 produce patch bumps instead of minor bumps? + bump-patch-for-minor-pre-major: true