Skip ci - best practice with codefresh

I want my pipeline to update the version number and commit/push to git, of course this should not re trigger the pipeline so in the commit message I will include [skip ci].

  • I do not want to have conditional clauses in each step to stop them executing when [skip ci] is present in the commit message as this is clumsy and difficult to maintain.
  • I do not want to have a step that fails fast when the commit message contains [skip ci] as that would show up as a pipeline failure - which it is not.

What is the standard/best way to achieve the above in codefresh please?

I think the easiest way would be to use the “Modified Files” field in your trigger to either exclude your version file or pick only directories where your code is
See Git Triggers · Codefresh | Docs for details

OK that will work thanks for the response @laurent.rochette
I think I have seen a post where there is a feature in the backlog to set up non triggering based on commit message - this would be great.