1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/data/reusables/actions/expression-syntax-if.md
2023-07-17 17:24:41 +00:00

2 lines
433 B
Markdown

When you use expressions in an `if` conditional, you may omit the {% raw %}`${{ }}`{% endraw %} expression syntax because {% data variables.product.prodname_actions %} automatically evaluates the `if` conditional as an expression. Using the {% raw %}`${{ }}`{% endraw %} expression syntax turns the contents into a string, and strings are truthy. For example, `if: true && {% raw %}${{ false }}{% endraw %}` will evaluate to `true`.