From 305209821f8e458027fa8c02684299e84c90f486 Mon Sep 17 00:00:00 2001 From: campersau Date: Wed, 7 Feb 2024 09:44:59 +0100 Subject: [PATCH] update peter-evans/create-pull-request to v6 --- .github/workflows/bump.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 4819bc40e..81602fbee 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -24,6 +24,8 @@ jobs: - run: npm ci - run: | body="$(npm run bumpdependencies)" + body="${body#"${body%%[![:space:]]*}"}" + body="${body%"${body##*[![:space:]]}"}" echo "$body" echo "body<> $GITHUB_OUTPUT echo "$body" >> $GITHUB_OUTPUT @@ -32,11 +34,14 @@ jobs: - run: npm install - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.GITHUB_TOKEN }} author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - commit-message: Bump Dependencies + commit-message: | + Bump Dependencies + + ${{ steps.bumpdependencies.outputs.body }} title: Bump Dependencies body: | ```