Skip to content

build(deps): bump softprops/action-gh-release from 1 to 2 #2

build(deps): bump softprops/action-gh-release from 1 to 2

build(deps): bump softprops/action-gh-release from 1 to 2 #2

name: release-github.yml
on:
jobs:
generate-release-notes:
if: "startsWith(github.event.head_commit.message, 'bump:')"
runs-on: ubuntu-latest
name: "Generate Release Notes"
steps:
- name: Create Release Notes
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
changelog: "false"
dry_run: "true"
changelog_increment_filename: body.md
- name: Release
uses: softprops/action-gh-release@v2
with:
body_path: "body.md"
tag_name: ${{ env.REVISION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}