fix: escape YAML alias in build-and-notify pr body (use --body-file)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
343b188138
commit
55e65a64ba
@@ -134,13 +134,12 @@ jobs:
|
||||
git add apps/agent-platform/overlays/prod/kustomization.yaml
|
||||
git commit -m "release(agent-platform): ${SHORT_SHA}"
|
||||
git push origin "${BRANCH}"
|
||||
printf 'Automated release PR from BrunoGao/agent-platform@%s\n\nAPI `harbor.eu.lingjingwanxiang.cn/ljwx/agent-platform-api:%s`\n' \
|
||||
"${GIT_SHA}" "${SHORT_SHA}" > /tmp/pr-body.txt
|
||||
gh pr create \
|
||||
--repo "BrunoGaoSZ/ljwx-deploy" \
|
||||
--title "release(agent-platform): ${SHORT_SHA}" \
|
||||
--body "Automated release PR from BrunoGao/agent-platform@${GIT_SHA}
|
||||
|
||||
**API** \`harbor.eu.lingjingwanxiang.cn/ljwx/agent-platform-api:${SHORT_SHA}\`
|
||||
" \
|
||||
--body-file /tmp/pr-body.txt \
|
||||
--base main \
|
||||
--head "${BRANCH}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user