Skip to content

Merge pull request #188 from technikhil314/develop #42

Merge pull request #188 from technikhil314/develop

Merge pull request #188 from technikhil314/develop #42

Workflow file for this run

name: Release
on:
push:
branches:
- main
- master
jobs:
changelog:
runs-on: ubuntu-latest
name: create release on tag
steps:
- uses: actions/checkout@v2
# This action generates changelog which then the release action consumes
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
skip-commit: 'true'
- 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 }}