From ed7f0f0bcf6d3bcc63fbc1cba4d7e3447b8f2ce0 Mon Sep 17 00:00:00 2001 From: Maxime Riaud Date: Wed, 3 Jul 2024 17:47:57 +0200 Subject: [PATCH] fix comment interpreted as args --- .github/workflows/buildimages-update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \