feat(conventional_commits): ensure .cz.yaml exists

if the cz.yaml config file does not exist, dont run commitizen jobs

!24
This commit is contained in:
2023-05-21 01:48:53 +09:30
parent f604c6e27d
commit 088c9fb04c
2 changed files with 6 additions and 0 deletions

View File

@ -53,8 +53,12 @@
- if: "$CI_COMMIT_AUTHOR =='nfc_bot <helpdesk@nofusscomputing.com>'"
when: never
- if: '$CI_COMMIT_BRANCH == "master"'
exists:
- .cz.yaml
when: always
- if: '$CI_COMMIT_BRANCH'
exists:
- .cz.yaml
when: always
- when: never

View File

@ -101,6 +101,8 @@ commit footer refs:
- if: '$CI_COMMIT_BRANCH == "development" || $CI_COMMIT_BRANCH == "master"'
when: never
- if: '$CI_COMMIT_BRANCH && $CHANGELOG_FOOTER_REFERENCES != "False"'
exists:
- .cz.yaml
when: always
- when: never