Skip to content

Commit 0c05393

Browse files
authored
ci: fix preview bump version (#298)
1 parent 6754784 commit 0c05393

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/preview-bump-version.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
container:
1111
image: commitizen/commitizen:4.8.3@sha256:08a078c52b368f85f34257a66e10645ee74d8cbe9b471930b80b2b4e95a9bd4a
1212

13-
name: "Bump version and create changelog with commitizen"
13+
name: "Preview next version"
1414
steps:
1515
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
1616
id: app-token
@@ -22,7 +22,11 @@ jobs:
2222
fetch-depth: 0
2323
token: ${{ steps.app-token.outputs.token }}
2424
ref: ${{ github.head_ref }}
25+
- name: Configure git
26+
run: |
27+
git config --global --add safe.directory "*" # otherwise cz does not find .git/ directory
28+
2529
- id: cz
2630
name: Preview next version
2731
run: |
28-
cz bump --get-next
32+
cz bump --get-next

0 commit comments

Comments
 (0)