mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 12:12:59 +03:00
ci: мигрировал на release-please-action (#12)
This commit is contained in:
parent
046b7586e1
commit
be853a81aa
31
.github/workflows/release.yml
vendored
31
.github/workflows/release.yml
vendored
@ -1,38 +1,19 @@
|
|||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
name: release-please
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release-please:
|
||||||
name: release
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: google-github-actions/release-please-action@v3
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
release-type: python
|
||||||
|
package-name: statapp
|
||||||
- name: Semantic Release
|
changelog-types: '[{"type":"feat","section":"Новые функции","hidden":false},{"type":"fix","section":"Исправления","hidden":false},{"type":"chore", "hidden":true}]'
|
||||||
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 }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user