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:
5
.changeset/yaml-echo-colon-escape.md
Normal file
5
.changeset/yaml-echo-colon-escape.md
Normal 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.
|
||||
4
.github/workflows/test-skip.yml
vendored
4
.github/workflows/test-skip.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user