-
-
Notifications
You must be signed in to change notification settings - Fork 75
[FEATURE] Allow to add a [skip ci] when cog create commit #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @AlexisMtr and @oknozor I took the liberty of implementing this feature because I think It would be an awesome addition :) So far you can only specify the skip-ci pattern using the CLI but it would be great to have it specified globally through the Wassim. |
Hi again @AlexisMtr @oknozor , I've been kind of busy recently so I couldn't work on this feature after working on the first one (#271) :) I've changed the way I implemented this feature and now the option is set directly in the cog.toml file using for example this line : The reason behind this is that adding this feature through the CLI made one function take 8 parameters and Clippy didn't really agree with this ^^ Feel free to take a look -> #274 Wassim. |
PR Merged and released in 5.5.0 -> https://github.com/cocogitto/cocogitto/releases/tag/5.5.0 |
will this work only with for bump commands? e.g., # assume I have skip_ci = "[skip ci]" in cog.toml
cog commit docs "added cli options" cli --skip-ci |
question would be nice if we can enable/disable skip_ci flag via command-line but have the
|
Is your feature request related to a problem? Please describe.
I use cocogitto in my CI system, and I trigger jobs when commits are pushed on my
develop
andmain
branch. When I usecog bump
, it will create a commit and the CI is triggered when I push it.Describe the solution you'd like
It would be nice to have an option that allowed me to say "Add [skip ci] pattern at the end of the commit".
Like all CI system use a different pattern to skip build, having a parameter to say which pattern to use seems to be a clever idea
$ cog bump --auto --skip-ci "[skip-ci]"
Thanks for your time
The text was updated successfully, but these errors were encountered: