fix: invalid API url
I misstyped the API URL T-T
This commit is contained in:
parent
73142cfab8
commit
0a637165fe
3 changed files with 33 additions and 24 deletions
|
@ -81,7 +81,7 @@ runs:
|
|||
prs=$(curl -X 'GET' \
|
||||
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/pulls?state=open&sort=recentupdate" \
|
||||
-H "Authorization: token $GITHUB_TOKEN" \
|
||||
-H 'accept: application/json')
|
||||
-H 'Accept: application/json')
|
||||
|
||||
pr_number=$(echo "$prs" |
|
||||
jq --arg head_ref "$head_ref" '.[] | select(.head.ref == $head_ref) | .number')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue