Skip to content

Commit 2e34d25

Browse files
committed
ci: preview next version job
1 parent 157f9d1 commit 2e34d25

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

.github/workflows/docker-build-no-login.yml

Whitespace-only changes.

.github/workflows/docker-build.yml

Whitespace-only changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Preview Bump version
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: ["main"]
7+
pull_request:
8+
branches: ["main"]
9+
10+
jobs:
11+
bump_version:
12+
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') && github.ref == 'refs/heads/main' }}
13+
runs-on: ubuntu-latest
14+
container:
15+
image: commitizen/commitizen:4.8.3@sha256:08a078c52b368f85f34257a66e10645ee74d8cbe9b471930b80b2b4e95a9bd4a
16+
17+
name: "Bump version and create changelog with commitizen"
18+
steps:
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
21+
- id: cz
22+
name: Preview next version
23+
run: |
24+
cz bump --get-next

0 commit comments

Comments
 (0)