To set up the question - I am currently using a workflow in which
[ci skip] is added to commit messages to skip CircleCI runs as suggested by the documentation. In some cases though, we do want to force the CircleCI run of our branches with these commits without having to rebase or push a new commit.
[ci skip] is too strict for us.
Rather than using
[ci skip], I’d like to use a custom condition for the commit message and manually cancel the workflow based upon the message. Is there a way to programmatically end or cancel the workflow? I am struggling to find this documented.
(P.S. I’ve seen it documented in multiple places that you should be able to rerun workflows that were skipped with
[ci skip], but it does not seem to be possible. You can only rerun with SSH but that does not finish the full workflow)