ci: мигрировал на release-please-action (#12)

This commit is contained in:
Maxim Slipenko 2023-09-26 13:29:01 +03:00 committed by GitHub
parent 046b7586e1
commit be853a81aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}]'