Skip to content

ci: add bump and release workflows (#21) #1

ci: add bump and release workflows (#21)

ci: add bump and release workflows (#21) #1

Workflow file for this run

on:
push:
branches:
- main
jobs:
bump-version:
if: ${{ ! startsWith(github.event.head_commit.message, 'bump:') }}
runs-on: ubuntu-latest
name: "Bump version and create changelog with commitizen"
steps:
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coatl-dev/actions/gpg-import@v3
id: gpg-import
with:
passphrase: ${{ secrets.COATL_BOT_GPG_PASSPHRASE }}
private-key: ${{ secrets.COATL_BOT_GPG_PRIVATE_KEY }}
- uses: commitizen-tools/[email protected]
with:
github_token: ${{ secrets.COATL_BOT_GH_TOKEN }}