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 <noreply@paperclip.ing>
This commit is contained in:
Hugh Hackman
2026-03-21 23:09:49 +00:00
parent 494a8051af
commit f564499a79
+2 -3
View File
@@ -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