Skip to content

ci(plugins): fix build-plugin.yml release-notes block scalar indentation#1362

Merged
datlechin merged 1 commit into
mainfrom
fix/build-plugin-yaml-release-notes
May 20, 2026
Merged

ci(plugins): fix build-plugin.yml release-notes block scalar indentation#1362
datlechin merged 1 commit into
mainfrom
fix/build-plugin-yaml-release-notes

Conversation

@datlechin
Copy link
Copy Markdown
Member

Problem

.github/workflows/build-plugin.yml fails to parse: Invalid workflow file ... You have an error in your yaml syntax on line 279. Plugin releases (plugin-*-v* tags and workflow_dispatch) can't run.

The "Create GitHub Release" step builds RELEASE_BODY as a multi-line shell string inside a run: | block scalar (indented 10 spaces). The string's continuation lines sat at column 0. A non-empty line dedented below the block indent ends the block scalar, so YAML tried to parse Plugin release for TablePro ... as structure and errored at line 279.

Introduced by the pipeline rewrite in #1322 / #1343.

Fix

Indent the continuation lines to the block's 10-space indent so they stay inside the scalar. YAML strips the 10-space prefix, so the shell still receives clean column-0 markdown for the release notes.

Verified by parsing the full workflow with yaml.safe_load (passes) and inspecting the rendered run block: the release-notes body has no leading whitespace.

@datlechin datlechin merged commit fa5f073 into main May 20, 2026
1 check passed
@datlechin datlechin deleted the fix/build-plugin-yaml-release-notes branch May 20, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant