From 5f61a5d751536b0d42c891372cb5943a7d4c912c Mon Sep 17 00:00:00 2001 From: Zach Vorhies Date: Tue, 15 Sep 2026 15:41:50 -0700 Subject: [PATCH] ci: fix invalid YAML in the VS Code extension release workflow `env: { GH_TOKEN: ${{ github.token }} }` is not valid YAML: the `${{` expression's braces terminate the flow mapping. GitHub rejected the whole file and reported a failed "vscode-extension-release.yml" run on every push to every branch, including main, although the workflow only runs on `vscode-v*` tags. Both env maps now use block style; every workflow file parses and actionlint passes. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01VfXV1EpgAvMZzXJfbGZPRG --- .github/workflows/vscode-extension-release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vscode-extension-release.yml b/.github/workflows/vscode-extension-release.yml index 955382ba..85edfdcb 100644 --- a/.github/workflows/vscode-extension-release.yml +++ b/.github/workflows/vscode-extension-release.yml @@ -42,10 +42,12 @@ jobs: with: subject-path: artifacts/*.vsix - name: Create GitHub release from the verified package bytes - env: { GH_TOKEN: ${{ github.token }} } + env: + GH_TOKEN: ${{ github.token }} run: gh release create "$GITHUB_REF_NAME" artifacts/* --title "FastLED VS Code ${{ needs.validate-tag.outputs.version }}" --generate-notes - name: Publish those same prebuilt VSIX files to Marketplace - env: { VSCE_PAT: ${{ secrets.VSCE_PAT }} } + env: + VSCE_PAT: ${{ secrets.VSCE_PAT }} run: | test -n "$VSCE_PAT" for vsix in artifacts/*.vsix; do npx --yes @vscode/vsce@3.6.2 publish --packagePath "$vsix" --pat "$VSCE_PAT"; done