Compare commits

...

2 commits

Author SHA1 Message Date
03cebd352a
test 2024-12-13 23:42:19 +01:00
793ab55475
fix: Update create-pull-request action, use "" for branch name
It should now work with Gitea and Forgejo
2024-12-13 14:57:59 +01:00
2 changed files with 12 additions and 11 deletions

View file

@ -210,16 +210,17 @@ runs:
run: rm -f pr_body.txt pr_body.template run: rm -f pr_body.txt pr_body.template
- name: Create PR - name: Create PR
id: create-pr id: create-pr
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5 # uses: peter-evans/create-pull-request@main
uses: peter-evans/create-pull-request@v6.0.1
with: with:
base: ${{ inputs.base }} base: "${{ inputs.base }}"
branch: ${{ inputs.branch }} branch: "${{ inputs.branch }}"
delete-branch: true delete-branch: true
committer: ${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }} committer: "${{ env.GIT_COMMITTER_NAME }} ${{ env.GIT_COMMITTER_EMAIL }}"
author: ${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }} author: "${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }}"
title: ${{ inputs.pr-title }} title: "${{ inputs.pr-title }}"
token: ${{ inputs.token }} token: "${{ inputs.token }}"
assignees: ${{ inputs.pr-assignees }} assignees: "${{ inputs.pr-assignees }}"
labels: ${{ inputs.pr-labels }} labels: "${{ inputs.pr-labels }}"
reviewers: ${{ inputs.pr-reviewers }} reviewers: "${{ inputs.pr-reviewers }}"
body: ${{ steps.pr_body.outputs.content }} body: "${{ steps.pr_body.outputs.content }}"

0
test Normal file
View file