mirror of
https://github.com/shizand/statapp.git
synced 2024-12-23 12:12:59 +03:00
39 lines
868 B
YAML
39 lines
868 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
|
|
conventional-changelog-conventionalcommits
|
|
semantic-release-github-pullrequest
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|