statapp/.github/workflows/release.yml
Maxim Slipenko 7b0809772c
ci: сделал изменения в CI (#1)
- добавил push-зеркало (GitFlic) (mirror.yml)
- добавил auto-assign (auto-assign.yml)
- исправил права доступа для release.yml и pr-title.yml
2023-09-26 10:39:06 +03:00

36 lines
767 B
YAML

name: Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}