cocogitto / cocogitto-action

A github action to ensure your current gitlog respect the conventional commit specification
22 stars 17 forks source link

[FEATURE] Allow an input to control the use of the `--skip-ci` flag when performing a release #29

Open nharward opened 1 month ago

nharward commented 1 month ago

Is your feature request related to a problem? Please describe. I would like to have cog bump --auto also pass the --skip-ci flag when performing a release.

Describe the solution you'd like Either solution below would work (for me):

  1. (specialized) Add an optional boolean input, defaulting to false, that when set to true passes the --skip-ci flag to cog when performing a release.
  2. (general) Add an optional string, defaulting to '', that can can pass arbitrary parameters to cog. Ideally there would be multiples of these, one for each type of action taken when running cog (one for check, one for release, etc.).

Describe alternatives you've considered I used the action with check: false to install cocogitto, then instead of using the action to release I in-lined the code from cog.sh to add --skip-ci.

Additional context N/A

eshepelyuk commented 1 month ago

One could achieve this with cog.toml, https://docs.cocogitto.io/config/#skip-ci