netlify.yaml: gah quotes
This commit is contained in:
parent
d094a70d3a
commit
ae78375c6a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/netlify.yaml
vendored
2
.github/workflows/netlify.yaml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue