Skip "git push" is no screenshot is updated in job "update-cli-screenshots" #1138
Labels
good first issue
issue-status: wait-for-implementation
maintainers agree on the bug / feature
type: ci/cd
Description
commitizen/.github/workflows/docspublish.yml
Line 28 in e9aa5d9
commitizen/.github/workflows/docspublish.yml
Line 27 in e9aa5d9
Steps to reproduce
poetry run python scripts/gen_cli_help_screenshots.py
Current behavior
Blocking documentation generation due to
commitizen/.github/workflows/docspublish.yml
Lines 33 to 34 in e9aa5d9
Desired behavior
If no screenshot is updated, the CI should just skip the committing and pushing steps.
Screenshots
No response
Environment
Commitizen Version: 3.13.0
Python Version: 3.11.6 (main, Oct 16 2023, 12:18:37) [Clang 15.0.0 (clang-1500.0.40.1)]
Operating System: Darwin
The text was updated successfully, but these errors were encountered: