Skip to content

chore(release): v1.6.0 #113

chore(release): v1.6.0

chore(release): v1.6.0 #113

name: Run Release
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
branches:
- main
jobs:
release:
name: Release
runs-on: self-hosted
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "18.17.0"
- name: Semantic Release Dry Run
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }}
uses: cycjimmy/semantic-release-action@v4.1.1
with:
branch: main
dry_run: true
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@semantic-release/github
conventional-changelog-conventionalcommits
env:
GH_TOKEN: ${{ secrets.PAT }}
- name: Action For Semantic Release
if: ${{ github.event_name == 'push' }}
uses: cycjimmy/semantic-release-action@v4.1.1
with:
branch: main
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@semantic-release/github
conventional-changelog-conventionalcommits
env:
GH_TOKEN: ${{ secrets.PAT }}