diff --git a/.github/workflows/update-lock.yml b/.github/workflows/update-lock.yml index 7908770..137e479 100644 --- a/.github/workflows/update-lock.yml +++ b/.github/workflows/update-lock.yml @@ -57,7 +57,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | if ! git diff --color=always --exit-code origin/main; then - git fetch origin foo || true + git fetch origin "$PR_BRANCH" || true git push --force-with-lease -u origin "$PR_BRANCH" open_prs="$(gh pr list --base main --head "$PR_BRANCH" | wc -l)"