Skip to content

Commit 08e42a5

Browse files
committed
ci: preview next version job
1 parent 157f9d1 commit 08e42a5

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

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

Whitespace-only changes.

.github/workflows/docker-build.yml

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

0 commit comments

Comments
 (0)