|
"description": "You can use the if conditional to prevent a step from running unless a condition is met. You can use any supported context and expression to create a conditional.\nExpressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.", |
"description": "You can use the if conditional to prevent a step from running unless a condition is met. You can use any supported context and expression to create a conditional.\nExpressions in an if conditional do not require the ${{ }} syntax. For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions.",
-
It should say something closer to:
For more information, see https://help.github.com/en/articles/contexts-and-expression-syntax-for-github-actions
Note the lack of a trailing ..
Otherwise, you get something like:

-
There are specific cases where you must use ${{ ... }}: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idif
You must always use the ${{ }} expression syntax or escape with '', "", or () when the expression starts with !, since ! is reserved notation in YAML format. For example:
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
schemastore/src/schemas/json/github-action.json
Line 126 in 402fdd8
It should say something closer to:
Note the lack of a trailing

..Otherwise, you get something like:
There are specific cases where you must use
${{ ... }}: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idif