diff --git a/.github/workflows/build-and-notify.yml b/.github/workflows/build-and-notify.yml index c432d50..a796f18 100644 --- a/.github/workflows/build-and-notify.yml +++ b/.github/workflows/build-and-notify.yml @@ -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}"