From be853a81aab7b136128971852ae2293af87872db Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 26 Sep 2023 13:29:01 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=D0=BC=D0=B8=D0=B3=D1=80=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BB=20=D0=BD=D0=B0=20release-please-action?= =?UTF-8?q?=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fd977c..f149387 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,38 +1,19 @@ -name: Release - on: push: branches: - main +name: release-please permissions: contents: write pull-requests: write jobs: - release: - name: release + release-please: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: google-github-actions/release-please-action@v3 with: - persist-credentials: false - - - name: Semantic Release - uses: cycjimmy/semantic-release-action@v4 - with: - branches: | - [ - '+([0-9])?(.{+([0-9]),x}).x', - 'main' - ] - extra_plugins: | - @semantic-release/commit-analyzer - @semantic-release/release-notes-generator - @semantic-release/git - @semantic-release/changelog - conventional-changelog-conventionalcommits - semantic-release-github-pullrequest - env: - GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} + release-type: python + package-name: statapp + changelog-types: '[{"type":"feat","section":"Новые функции","hidden":false},{"type":"fix","section":"Исправления","hidden":false},{"type":"chore", "hidden":true}]'