From d56ef0e985b63247812bfb38182fe528bcefbc83 Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Fri, 13 Dec 2024 14:01:18 +0100 Subject: [PATCH] fix: Update create-pull-request action, use "" for branch name It should now work with Gitea and Forgejo --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index f9c01eb..d374a9e 100644 --- a/action.yml +++ b/action.yml @@ -210,10 +210,10 @@ runs: run: rm -f pr_body.txt pr_body.template - name: Create PR id: create-pr - uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5 + uses: peter-evans/create-pull-request@v7 with: base: ${{ inputs.base }} - branch: ${{ inputs.branch }} + branch: "${{ inputs.branch }}" delete-branch: true committer: ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }} author: ${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }}