diff --git a/.github/workflows/netlify.yaml b/.github/workflows/netlify.yaml index 1be1a6a0bd..1efa40da3d 100644 --- a/.github/workflows/netlify.yaml +++ b/.github/workflows/netlify.yaml @@ -22,7 +22,7 @@ jobs: head_ref='${{github.event.workflow_run.head_sha}}' echo "Head ref: $head_ref" pulls_uri="https://api.github.com/repos/${{ github.repository }}/pulls?head=$(jq -Rr '@uri' <<<$head_branch)" - pr_number = $(curl -s -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' "$pulls_uri" | jq -r '.[] | .number) + pr_number = $(curl -s -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' "$pulls_uri" | jq -r .[] | .number) echo "PR number: $pr_number" echo "::set-output name=prnumber::$pr_number" echo "::set-output name=headref::$head_ref"