From 6618ab0c032820b41a8c33ec42e865f4281ea6f1 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Sat, 4 Nov 2023 08:39:28 +0000 Subject: [PATCH] wip --- .github/workflows/pr-title.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/pr-title.yaml b/.github/workflows/pr-title.yaml index b365d434..4f470d6d 100644 --- a/.github/workflows/pr-title.yaml +++ b/.github/workflows/pr-title.yaml @@ -11,3 +11,12 @@ jobs: - uses: deepakputhraya/action-pr-title@master with: regex: '^\[\d+\.x\]\s' + + - name: Update the PR + uses: peter-evans/create-pull-request@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update PR title + title: "[${{ github.event.pull_request.head.ref }}] ${{ steps.pr-title.outputs.title }}" + branch: ${{ github.event.pull_request.head.ref }} + base: ${{ github.event.pull_request.base.ref }}