Skip to content

Fix template variables in pass-job-outputs.md #39698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2025
Merged

Conversation

ab
Copy link
Contributor

@ab ab commented Aug 6, 2025

These were rendered as just $ in the output HTML.

See ad6f889#diff-60d2ad0fd3412116cc786ec81cf58060a950d1605eff32c64cb5bc2324e42b17

Why:

Closes: #39697

What's being changed (if available, include any code snippets, screenshots, or gifs):

Add {% raw %} blocks to wrap variables to fix rendering.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@Copilot Copilot AI review requested due to automatic review settings August 6, 2025 21:06
Copy link

welcome bot commented Aug 6, 2025

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.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes template variable rendering issues in the GitHub Actions documentation by adding {% raw %} blocks around workflow variables. The variables were previously rendering as just $ in the output HTML instead of displaying the intended template syntax.

Key Changes

  • Added {% raw %}...{% endraw %} blocks around workflow template variables to prevent Jekyll from processing them
  • Fixed four instances of variables in the pass-job-outputs.md documentation file

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Aug 6, 2025
Copy link
Contributor

github-actions bot commented Aug 6, 2025

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/how-tos/write-workflows/choose-what-workflows-do/pass-job-outputs.md fpt
ghec
ghes@ 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 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.

Copy link
Contributor

@sabrowning1 sabrowning1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋🏼 @ab, thanks for spotting this and raising a PR with the fix! This looks great; I'll get it merged shortly 🚀

@sabrowning1 sabrowning1 added this pull request to the merge queue Aug 7, 2025
Merged via the queue into github:main with commit f4236da Aug 7, 2025
47 checks passed
Copy link
Contributor

github-actions bot commented Aug 7, 2025

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Do not begin working on this issue until triaged by the team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken variables in "Passing information between jobs"
2 participants