statapp/.github/workflows/release.yml

30 lines
658 B
YAML
Raw Normal View History

name: Release
on:
push:
branches:
- main
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- 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.PAT_TOKEN }}