Skip to content

Commit bb90adf

Browse files
committed
use force
1 parent 11e027e commit bb90adf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/auto-update-Dockerfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
git push origin --delete $remoteBranch 2>$null
140140
141141
# Push local branch to remote branch (force push to consistent remote branch name)
142-
git push --force-with-lease origin "${localBranch}:${remoteBranch}"
142+
git push --force origin "${localBranch}:${remoteBranch}"
143143
144144
# Write the remote branch name to GITHUB_OUTPUT for use in the PR step
145145
Add-Content -Path $env:GITHUB_OUTPUT -Value "BRANCH=$remoteBranch"

0 commit comments

Comments
 (0)