Commit 5f2d2bc
fix(ci): place --no-raise before bump subcommand
The bump-version step in bumpversion.yml passed --no-raise 21 after the
`bump` subcommand, but `--no-raise` is a top-level commitizen option.
With it placed after the subcommand, argparse treats `--no-raise 21` as
unknown trailing arguments and the CLI exits with code 18
(`INVALID_COMMAND_ARGUMENT`):
Invalid commitizen arguments were found: `--no-raise`.
Please use -- separator for extra git args
This is what failed the bump workflow on master in run 25542335831.
Move the option before `bump` so it is parsed by the parent parser, as
intended by 5513e01 (`ci(bump): gracefully handle no bump-eligible
commits`).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a656af5 commit 5f2d2bc
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
0 commit comments