We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf5526f commit 5e7da9eCopy full SHA for 5e7da9e
create-pull-request/action.yml
@@ -250,8 +250,8 @@ runs:
250
REPO_URL="https://x-access-token:${RESOLVED_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
251
git remote set-url origin "$REPO_URL"
252
253
- # Push to remote
254
- 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"
255
echo "Pushed branch '${PR_BRANCH}' to origin."
256
257
- name: Create or update pull request
0 commit comments