Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions create-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ runs:
REPO_URL="https://x-access-token:${RESOLVED_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git remote set-url origin "$REPO_URL"

# Push to remote
git push --force-with-lease origin "$PR_BRANCH"
# Push to remote (force is safe here: the branch is bot-owned and managed exclusively by this action)
git push --force origin "$PR_BRANCH"
echo "Pushed branch '${PR_BRANCH}' to origin."

- name: Create or update pull request
Expand Down
Loading