cds
cds copied to clipboard
allow [skip ci] or [skip nodeName] in msg comment
Hello, any plans to have this feature included in a future release? We have to do that manually in our run conditions:
return string.match(git_message, ".*[skip ci].*") == nil
If you don't have time can you confirm you would have this feature implemented there: https://github.com/ovh/cds/blob/master/engine/api/workflow/process.go#L45-L71?
Hi. We confirm that it will be implemented, but not in process.go.
Today, it's possible to add run condition on a hook (or select the event type to run the workflow), the skip ci will be checked at the same moment. This will avoid to increment a run number for example.
Just for the note, lua code should be:
return string.match(git_message, "%[skip ci%]") == nil