You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/conditional-execution-of-steps.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,8 @@ Alternatively, you can use more advanced condition expressions.
72
72
73
73
This follows the standard[condition expression syntax]({{site.baseurl}}/docs/codefresh-yaml/condition-expression-syntax/). In this case, you can choose to execute if```all``` expression conditions evaluate to```true```, or to execute if```any``` expression conditions evaluate to```true```.
74
74
75
+
>Note: Use "" around variables with text to avoid errors in processing the conditions. ex: "${{CF_COMMIT_MESSAGE}}"
76
+
75
77
Here are some examples. Execute if the string```[skip ci]``` is not part of the main repository commit message AND if the branch is```master```
76
78
77
79
`all-conditions.yml`
@@ -150,4 +152,4 @@ Try running the pipeline above and see how it behaves when a variable called `MY