fix: Update create-pull-request action, use "" for branch name
Some checks failed
CI / typescript-action (push) Has been cancelled
CI / validate (push) Has been cancelled

It should now work with Gitea and Forgejo
This commit is contained in:
Jiří Štefka 2024-12-13 14:01:18 +01:00
parent 0ba1118664
commit 527371d8bd
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

View file

@ -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 }}
base: "${{ inputs.base }}"
branch: "${{ inputs.branch }}"
delete-branch: true
committer: ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}
author: ${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }}