update outdated reusable workflow description to reflect output support
This PR updates a sentence in the reusable workflow documentation to reflect current GitHub Actions behavior. https://github.com/github/docs/blob/main/content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.md
What changed: The original documentation stated that reusable workflows could not pass values forward after being invoked. GitHub Actions now supports reusable workflow outputs, which can be referenced in subsequent jobs.
Original text: "You can't add steps to a job after calling a reused workflow, so you can't use GITHUB_ENV to pass values to subsequent job steps in the caller workflow."
Updated text: "You can't add steps to a job after calling a reused workflow, but reusable workflows now support outputs that can be referenced in subsequent jobs in the caller workflow."
Why this update is needed: This change removes outdated language and clarifies how reusable workflows now work in GitHub Actions. This improves the accuracy of the documentation and prevents confusion for users.
Related issue: Closes #41297
Please let me know if any adjustments are needed. Happy to update as required.
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.
How to review these changes 👓
Thank you for your contribution. To review these changes, choose one of the following options:
A Hubber will need to deploy your changes internally to review.
Table of review links
Note: Please update the URL for your staging server or codespace.
The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.
| Source | Review | Production | What Changed |
|---|---|---|---|
actions/concepts/workflows-and-actions/reusing-workflow-configurations.md |
fpt ghec ghes@ 3.18 3.17 3.16 3.15 3.14 |
fpt ghec ghes@ 3.18 3.17 3.16 3.15 3.14 |
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server
🤖 This comment is automatically generated.