Skip to content

Commit 1283233

Browse files
committed
ci(main): ignore commiizen error no bump
commitizen-tools/commitizen-action#18
1 parent 0fc6cf5 commit 1283233

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
# Create release if in main branch
5252
- name: commitizen
5353
if: github.ref == 'refs/heads/main'
54+
id: commitizen
55+
continue-on-error: true
5456
uses: commitizen-tools/[email protected]
5557
with:
5658
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -59,7 +61,7 @@ jobs:
5961
extra_requirements: typing-extensions
6062

6163
- name: Create GitHub release
62-
if: github.ref == 'refs/heads/main'
64+
if: github.ref == 'refs/heads/main' && steps.commitizen.outcome == 'success'
6365
uses: softprops/action-gh-release@v1
6466
with:
6567
body_path: body.md

0 commit comments

Comments
 (0)