Skip to content

Commit 785fa5b

Browse files
maxprilutskiymainstar123
authored andcommitted
fix(action): fix base branch
1 parent fb23336 commit 785fa5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

action/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ create_or_update_pr() {
7373
# Read PR body from adjacent file called pr.md
7474
pr_body_file="/pr.md"
7575

76-
local pr_create_args="--title \"$pr_title\" --body-file \"$pr_body_file\" --head \"$pr_branch\""
76+
# PR arguments - must create pr into the current branch
77+
local pr_create_args="--title \"$pr_title\" --body-file \"$pr_body_file\" --head \"$pr_branch\" --base \"$current_branch\""
7778
local pr_edit_args="--title \"$pr_title\" --body-file \"$pr_body_file\""
7879

7980
add_assignees_to_pr_args

0 commit comments

Comments
 (0)