Skip to content

Commit 59beaeb

Browse files
serpentbladeclaude
andcommitted
fix(ci): adoption-smokes workflow YAML — quote step name with colon
The Astro step's name was unquoted: `Astro adoption smoke (target: lit + Vite plugin slot)`. The unquoted `: ` inside the name confuses YAML's parser into thinking it's a map key separator — the workflow file failed parsing entirely, surfacing as "X This run likely failed because of a workflow file issue" in the Actions UI (0-second duration). Fix is a quoted double-quote string + swap `target: 'lit'` → `target='lit'` to keep the syntax safe even if the surrounding quoting changes in future. Validated locally with js-yaml — the file now parses to the expected 8 steps. Same trap would also bite the docs Astro page if a code block referenced the YAML config without an explicit `target='lit'` form — leaving the docs as-is since their target is `'lit'` (a quoted string in JS/TS context, where the colon is a property separator, not a YAML map delimiter). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2638ce8 commit 59beaeb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/adoption-smokes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ jobs:
8383
env:
8484
NEXT_TELEMETRY_DISABLED: '1'
8585

86-
# Astro 5 + Vite + @rozie/unplugin/vite, target: 'lit'.
87-
- name: Astro adoption smoke (target: lit + Vite plugin slot)
86+
# Astro 5 + Vite + @rozie/unplugin/vite, target='lit'.
87+
- name: "Astro adoption smoke (target='lit' + Vite plugin slot)"
8888
run: pnpm --filter astro-rozie-demo run test:smoke
8989
env:
9090
ASTRO_TELEMETRY_DISABLED: '1'

0 commit comments

Comments
 (0)