fix(ci): escape colons in echo strings in workflow yaml (#125)

* fix(ci): escape colons in echo strings in workflow yaml

Closes #3857

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: update changeset pr number to 125

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-05-22 17:10:04 -04:00
committed by GitHub
parent 03f7202f03
commit 84bc01af1a
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 125
---
**YAML parse error in test-skip.yml from unescaped colon in echo strings** — two `run:` steps used unquoted `echo "...: ..."` syntax where the colon-space sequence caused `yaml.scanner.ScannerError: mapping values are not allowed here`. Fixed by wrapping the run value in YAML double-quotes so the colon is inside a quoted scalar. Closes #3857.

View File

@@ -33,7 +33,7 @@ jobs:
lint-tests:
runs-on: ubuntu-latest
steps:
- run: echo "doc-only PR: skipping lint-tests"
- run: "echo 'doc-only PR: skipping lint-tests'"
shell: bash
test:
@@ -44,5 +44,5 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [22, 24]
steps:
- run: echo "doc-only PR: skipping test on node ${{ matrix.node-version }} / ${{ matrix.os }}"
- run: "echo 'doc-only PR: skipping test on node ${{ matrix.node-version }} / ${{ matrix.os }}'"
shell: bash