diff options
Diffstat (limited to '.github/workflows/update-lock.yaml')
| -rw-r--r-- | .github/workflows/update-lock.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/update-lock.yaml b/.github/workflows/update-lock.yaml index 5cd03bd..37aa705 100644 --- a/.github/workflows/update-lock.yaml +++ b/.github/workflows/update-lock.yaml @@ -57,7 +57,8 @@ jobs: BRANCH: ${{ steps.branch.outputs.branch }} run: | if ! git diff --color=always --exit-code origin/main; then - git push -u origin "$BRANCH" + git fetch origin "$BRANCH" || true + git push --force-with-lease -u origin "$BRANCH" gh pr create \ --base main \ |
