diff --git a/.github/workflows/buildimages-update.yml b/.github/workflows/buildimages-update.yml index 1c65c7360244ea..933bccdcb6be7c 100644 --- a/.github/workflows/buildimages-update.yml +++ b/.github/workflows/buildimages-update.yml @@ -112,7 +112,8 @@ jobs: run: | base_branch=${{ github.ref }} # Get the full ref base_branch=${base_branch#refs/heads/} # Remove 'refs/heads/' from the ref - prs=$(gh pr list \ # prs variable contains the number of PRs already created that match head and base branches + # prs variable contains the number of PRs already created that match head and base branches + prs=$(gh pr list \ --repo "$GITHUB_REPOSITORY" \ --head ${{ inputs.branch }} \ --base $base_branch \