Skip to content

Commit afab914

Browse files
msyycCopilot
andcommitted
ci: fix PR body injection by using env var instead of expression
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c848cf7 commit afab914

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/http-client-python-bump-version.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,11 @@ jobs:
164164
- name: Create Pull Request
165165
env:
166166
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
167+
PR_BODY: ${{ steps.pr-body.outputs.body }}
167168
run: |
168169
PR_URL=$(gh pr create \
169170
--title "[python] release new version" \
170-
--body "${{ steps.pr-body.outputs.body }}" \
171+
--body "$PR_BODY" \
171172
--base ${{ inputs.branch || github.ref_name }} \
172173
--draft)
173174
echo "✅ PR created: $PR_URL"

0 commit comments

Comments
 (0)