Skip to content

ci: update release rules #7

ci: update release rules

ci: update release rules #7

Workflow file for this run

---
name: 'Release'
on:
push:
branches:
- main
jobs:
release:
name: 'Release'
runs-on: ubuntu-latest
# Skip running release workflow on forks
if: github.repository_owner == 'antmelekhin'
steps:
- name: 'Checkout the codebase'
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: 'Semantic Release'
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 23.0.8
extra_plugins: |
@semantic-release/[email protected]
@semantic-release/[email protected]
[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}