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:
|
lint-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "doc-only PR: skipping lint-tests"
|
- run: "echo 'doc-only PR: skipping lint-tests'"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@@ -44,5 +44,5 @@ jobs:
|
|||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
node-version: [22, 24]
|
node-version: [22, 24]
|
||||||
steps:
|
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
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user