netlify.yaml: gah quotes

pull/977/head
Richard van der Hoff 3 years ago
parent d094a70d3a
commit ae78375c6a

@ -29,7 +29,7 @@ jobs:
head_branch='${{github.event.workflow_run.head_repository.owner.login}}:${{github.event.workflow_run.head_branch}}'
echo "head branch: $head_branch"
pr_number=$(curl -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
'https://api.github.com/repos/${{ github.repository }}/pulls?head=$head_branch' |
"https://api.github.com/repos/${{ github.repository }}/pulls?head=$head_branch" |
jq -r '.[] | .number')
echo "PR number: $pr_number"
echo "::set-output name=prnumber::$pr_number"

Loading…
Cancel
Save