I want to be able to skip a workflow and not display any steps when I use [disable] in the commit message. I’m aware I can use [ci skip], but I also need the workflow to not display any steps.
Unfortunately documentation on using when is rather poor.
Here’s what I’ve tried to far, but it doesn’t even validate:
I can’t provide the full background on how (and why) the condition system works as I’ve not used it enough to fully understand the quirks caused by trying to express such logic in yaml, which was never designed to do such things, but I can
say that you have the structure of ‘matches’ wrong, there are 2 comparison statements, and they have different ways of expressing the values/parameters. You seem to be using the structure for ‘equal’.
‘condition’ is not added when doing a check for a workflow.