fix: Update create-pull-request action, use "" for branch name
It should now work with Gitea and Forgejo
This commit is contained in:
parent
0ba1118664
commit
793ab55475
1 changed files with 12 additions and 11 deletions
23
action.yml
23
action.yml
|
@ -210,16 +210,17 @@ 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@main
|
||||
uses: https://code.forgejo.org/peter-evans/create-pull-request
|
||||
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 }}
|
||||
title: ${{ inputs.pr-title }}
|
||||
token: ${{ inputs.token }}
|
||||
assignees: ${{ inputs.pr-assignees }}
|
||||
labels: ${{ inputs.pr-labels }}
|
||||
reviewers: ${{ inputs.pr-reviewers }}
|
||||
body: ${{ steps.pr_body.outputs.content }}
|
||||
committer: "${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}"
|
||||
author: "${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }}"
|
||||
title: "${{ inputs.pr-title }}"
|
||||
token: "${{ inputs.token }}"
|
||||
assignees: "${{ inputs.pr-assignees }}"
|
||||
labels: "${{ inputs.pr-labels }}"
|
||||
reviewers: "${{ inputs.pr-reviewers }}"
|
||||
body: "${{ steps.pr_body.outputs.content }}"
|
||||
|
|
Loading…
Reference in a new issue