ci: fix branch name in update-lock

This commit is contained in:
seth 2024-03-13 18:23:40 -04:00
parent 8d8ff5e820
commit 0a5ee580d8
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86

View file

@ -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)"