From 763f38656896d58f59225779bb214c6746f5d168 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 1 Aug 2026 12:59:45 +0200 Subject: [PATCH] chore: open backport pull requests without a body (#32385) --- .github/workflows/command-backport.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/command-backport.yml b/.github/workflows/command-backport.yml index 21e8ad7dc..93d1e32dc 100644 --- a/.github/workflows/command-backport.yml +++ b/.github/workflows/command-backport.yml @@ -155,20 +155,21 @@ jobs: BRANCH: ${{ steps.pr.outputs.branch }} TARGET: ${{ steps.pr.outputs.target }} TITLE: ${{ steps.pr.outputs.title }} - NUMBER: ${{ github.event.issue.number }} ACTOR: ${{ github.event.comment.user.login }} run: | # the release line the branch was cut from, 0.313 for release/0.313.1 line=$(echo "${TARGET#release/}" | cut -d. -f1,2) - # the pull request is authored by the deploy token, so name the requester + # the pull request is authored by the deploy token, so assign the + # requester. the body stays empty, squashing it would carry the text + # into the release branch as the commit description url=$(gh pr create \ --base "$TARGET" \ --head "$BRANCH" \ --title "$line backport: $TITLE" \ --label backport \ --assignee "$ACTOR" \ - --body "Backport of #$NUMBER to \`$TARGET\`, requested by @$ACTOR.") + --body "") echo "url=$url" >> "$GITHUB_OUTPUT" - name: Comment result