Commit ca48e4b
ci(bump): gracefully handle no bump-eligible commits
When commits like docs:, ci:, or build(deps): are pushed to master,
cz bump exits with code 21 (NO_COMMITS_TO_BUMP), failing the workflow.
Handle exit code 21 explicitly by setting bumped=false and exiting 0.
Subsequent changelog and release steps are now conditional on
bumped == 'true', so they are skipped when there is nothing to release.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9d80891 commit ca48e4b
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 | | |
43 | 56 | | |
44 | 57 | | |
45 | 58 | | |
46 | 59 | | |
47 | 60 | | |
| 61 | + | |
48 | 62 | | |
49 | 63 | | |
50 | 64 | | |
51 | 65 | | |
52 | 66 | | |
| 67 | + | |
53 | 68 | | |
54 | 69 | | |
55 | 70 | | |
| |||
0 commit comments