Skip to content

Commit 60c1c0d

Browse files
committed
fixes branch already exists
1 parent 4f5a0af commit 60c1c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jq -c 'select(.type == "create_pull_request")' "$INPUT" | while read -r event; d
5252

5353
# Commit and push
5454
git commit -m "$COMMIT_MSG"
55-
git push origin "$BRANCH_NAME"
55+
git push -f origin "$BRANCH_NAME"
5656

5757
# Create PR using gh CLI
5858
gh pr create --title "$PR_TITLE" --body "$PR_BODY" --base main --head "$BRANCH_NAME" --label dependencies || true

0 commit comments

Comments
 (0)