Skip to content

ci: preview next version job #1

ci: preview next version job

ci: preview next version job #1

name: Preview Bump version
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
bump_version:
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
container:
image: commitizen/commitizen:4.8.3@sha256:08a078c52b368f85f34257a66e10645ee74d8cbe9b471930b80b2b4e95a9bd4a
name: "Bump version and create changelog with commitizen"
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- id: cz
name: Preview next version
run: |
cz bump --get-next