Skip to content

feat: Update gitignore file #3

feat: Update gitignore file

feat: Update gitignore file #3

Workflow file for this run

name: Release flow
on:
push:
branches:
- main
paths-ignore:
- package.json
- CHANGELOG.md
jobs:
setup:
name: Checkout & Generate Changelog
runs-on: ubuntu-latest
outputs:
clean_changelog: ${{ steps.changelog.outputs.clean_changelog }}
tag: ${{ steps.changelog.outputs.tag }}
skipped: ${{ steps.changelog.outputs.skipped }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Changelog
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
git-message: 'chore(release): {version}'
preset: 'conventionalcommits'
release-count: 0
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false'}}
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 }}