Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
Reusable Workflows
https://docs.github.com/en/actions/using-workflows/reusing-workflows
Reusable Workflows: Limitations
https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
Reusable Workflows: Using outputs from a reusable workflow
https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-outputs-from-a-reusable-workflow
What part(s) of the article would you like to see updated?
According to the Limitations:
Any environment variables set in an
env
context defined at the workflow level in the caller workflow are not propagated to the called workflow.
The opposite is also not supported but it's not listed under the Limitations section.
Using outputs from a reusable workflow also does not mention anything about env
context or GITHUB_ENV
as it's mainly focused on the output parameters.
Adding this (i.e. env
context or GITHUB_ENV
cannot be used to set env vars for output purposes) under the Limitations section would be helpful.
Thanks!
Additional information
No response