Skip to content

ci: Don't skip empty releases #4

ci: Don't skip empty releases

ci: Don't skip empty releases #4

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths-ignore:
- 'package.json'
- 'CHANGELOG.md'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v4
with:
github-token: ${{ secrets.github_token }}
skip-on-empty: false
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}