Skip to content

Commit

Permalink
Remove advice about Actions if conditional operators (#8786)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascosti authored Aug 4, 2021
1 parent a0f36fb commit 96177a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/reusables/github-actions/expression-syntax-if.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
When you use expressions in an `if` conditional, you may omit the expression syntax ({% raw %}`${{ }}`{% endraw %}) because {% data variables.product.prodname_dotcom %} automatically evaluates the `if` conditional as an expression, unless the expression contains any operators. If the expression contains any operators, the expression must be contained within {% raw %}`${{ }}`{% endraw %} to explicitly mark it for evaluation.
When you use expressions in an `if` conditional, you may omit the expression syntax ({% raw %}`${{ }}`{% endraw %}) because {% data variables.product.prodname_dotcom %} automatically evaluates the `if` conditional as an expression.

0 comments on commit 96177a5

Please sign in to comment.