Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 68.6k
Unclear when to use expression syntax with literals #17869
Copy link
Copy link
Closed
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamneeds SMEThis proposal needs review from a subject matter expertThis proposal needs review from a subject matter expertnever-staleDo not close as staleDo not close as stalewaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review
Description
Activity
Metadata
Metadata
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamneeds SMEThis proposal needs review from a subject matter expertThis proposal needs review from a subject matter expertnever-staleDo not close as staleDo not close as stalewaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/expressions#literals
What part(s) of the article would you like to see updated?
The following section talks about the literal data types used with expression syntax. The example that follows seems to indicate that when specifying anything that is not meant to be a string should be set using expression syntax.
However, if one attempts to do this in, for example, the
inputssection of a workflow, the validator shows an error that is quite the opposite:On re-reading this part, I assume it is referring specifically to when setting environmental variables?
Additional information
No response