From 5a1031c18e6b46a8e247ed389500fa1c1cacdcba Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 13 Mar 2024 18:23:40 -0400 Subject: [PATCH] ci: fix branch name in update-lock --- .github/workflows/update-lock.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-lock.yml b/.github/workflows/update-lock.yml index 7908770d..137e4798 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)"