From f564499a79a94c4dd6b6d4c895da5e29a7bbbd45 Mon Sep 17 00:00:00 2001 From: Hugh Hackman Date: Sat, 21 Mar 2026 23:09:49 +0000 Subject: [PATCH] fix: use printf to avoid multi-line YAML literal block break The multi-line --body string had cc @cpfarhood at column 0, which terminated the YAML literal block scalar prematurely and caused actionlint to reject the workflow file. Use printf to construct the body string without embedding a literal newline in the YAML. Co-Authored-By: Paperclip --- .github/workflows/plugin-release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/plugin-release.yaml b/.github/workflows/plugin-release.yaml index 90469a9..904cfae 100644 --- a/.github/workflows/plugin-release.yaml +++ b/.github/workflows/plugin-release.yaml @@ -213,11 +213,10 @@ jobs: - name: Create PR for version bump run: | VERSION="${{ inputs.version }}" + BODY=$(printf "Automated version bump and checksum update for v%s.\n\ncc @cpfarhood" "${VERSION}") gh pr create \ --title "release: v${VERSION}" \ - --body "Automated version bump and checksum update for v${VERSION}. - -cc @cpfarhood" \ + --body "$BODY" \ --base main \ --head "release/v${VERSION}" gh pr merge "release/v${VERSION}" --auto --squash --delete-branch