Repository navigation
Wrap unwrapped Azure Pipelines expressions in Liquid raw tags - #47205
Hariharan18092006 wants to merge 1 commit into
Conversation
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 linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
There was a problem hiding this comment.
🟢 Approval recommended
The Azure Pipelines expressions are protected with Liquid raw tags, and the review reports no active issues.
No open issues 🎉
What changed in this PR
Wraps Azure Pipelines expressions in Liquid raw tags so they render correctly in the published migration documentation.
Changes:
- Protects the variable-based template path expression.
- Protects the iterative template path expression.
| File | Description |
|---|---|
content/actions/tutorials/migrate-to-github-actions/automated-migrations/azure-devops-migration.md |
Preserves Azure Pipelines expressions during Liquid rendering. |
Review effort: Lite
Why:
In
content/actions/tutorials/migrate-to-github-actions/automated-migrations/azure-devops-migration.md, two Azure Pipelines YAML examples under Template file path names contain${{ ... }}expressions that are not wrapped in{% raw %}...{% endraw %}Liquid tags:- template: "./templates/${{ variables.one }}"— Liquid evaluates{{ variables.one }}as empty, rendering- template: "./templates/$"on the published docs page.- template: "${{ step }}-variables.yml"— Liquid evaluates{{ step }}as empty, rendering- template: "$-variables.yml"on the published docs page (even though line 515 above it already wraps${{ each step in parameters.steps }}in{% raw %}...{% endraw %}).What's being changed (if available, include any code snippets, screenshots, or gifs):
${{ variables.one }}and${{ step }}in{% raw %}...{% endraw %}incontent/actions/tutorials/migrate-to-github-actions/automated-migrations/azure-devops-migration.md, matching line 502 (./templates/{% raw %}${{ parameters.template }}{% endraw %}).Check off the following: