Skip to content

Commit

Permalink
fix API request
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Mar 5, 2024
1 parent 2ef43e7 commit c1127e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
{
Expand Down

0 comments on commit c1127e1

Please sign in to comment.