From c1127e1501a71c031b15c81c84c9d7031a038be6 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Tue, 5 Mar 2024 09:46:29 +0100 Subject: [PATCH] fix API request --- .github/workflows/updater.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index a8808be..18f9ea9 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -149,7 +149,7 @@ jobs: if: ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.root.outputs.changed == 'false') }} id: existing-pr run: | - $data = gh api repos/${{ github.repository }}/pulls?base=${{ steps.root.outputs.baseBranch }}&head=${{ github.repository }}:${{ steps.root.outputs.prBranch }} + $data = gh api 'repos/${{ github.repository }}/pulls?base=${{ steps.root.outputs.baseBranch }}&head=${{ steps.root.outputs.prBranch }}' $prCount = $($data | jq '. | length') if ($prCount -eq '0') {