From 84bc01af1a3851cc9962e2c0396b24a030aa36a4 Mon Sep 17 00:00:00 2001 From: Tom Boucher Date: Fri, 22 May 2026 17:10:04 -0400 Subject: [PATCH] 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 * chore: update changeset pr number to 125 Co-Authored-By: Claude Sonnet 4.6 --------- Co-authored-by: Claude Sonnet 4.6 --- .changeset/yaml-echo-colon-escape.md | 5 +++++ .github/workflows/test-skip.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/yaml-echo-colon-escape.md diff --git a/.changeset/yaml-echo-colon-escape.md b/.changeset/yaml-echo-colon-escape.md new file mode 100644 index 000000000..7d5d5c2f6 --- /dev/null +++ b/.changeset/yaml-echo-colon-escape.md @@ -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. diff --git a/.github/workflows/test-skip.yml b/.github/workflows/test-skip.yml index b0f5aab3b..0b60aaeb4 100644 --- a/.github/workflows/test-skip.yml +++ b/.github/workflows/test-skip.yml @@ -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