ci: fix branch name in update-lock
This commit is contained in:
parent
8d8ff5e820
commit
0a5ee580d8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update-lock.yml
vendored
2
.github/workflows/update-lock.yml
vendored
|
@ -57,7 +57,7 @@ jobs:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
if ! git diff --color=always --exit-code origin/main; then
|
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"
|
git push --force-with-lease -u origin "$PR_BRANCH"
|
||||||
|
|
||||||
open_prs="$(gh pr list --base main --head "$PR_BRANCH" | wc -l)"
|
open_prs="$(gh pr list --base main --head "$PR_BRANCH" | wc -l)"
|
||||||
|
|
Loading…
Reference in a new issue