clarify that github.env
is not related to env
#32132
Labels
actions
This issue or pull request should be reviewed by the docs actions team
content
This issue or pull request belongs to the Docs Content team
waiting for review
Issue/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/contexts#github-context
What part(s) of the article would you like to see updated?
The text for
github.env
says:Two things to add:
jobs.<*>.if
for the same reason thatenv
isn't -- see https://docs.github.com/en/actions/learn-github-actions/contexts#context-availabilityAdditional information
I ran into a PR where someone was trying to use
github.env.foo
in ajobs[*].if
to work around the fact thatenv
isn't available at this point.The text was updated successfully, but these errors were encountered: