我正在尝试使用以下方法获取打开请求请求的列表:
'https://api.github.com/search/issues?q=is:open+is:pr+org:myOrg+draft:false'
但是我也收到了批准的请求,这不是我想要的。
openPrData: Array(3)
0: {...}
1: {...}
2:
id: 77
repo: "example"
title: "Update example"
author: "exampleAuthor"
status: "open"
approvedPullRequests: Array(1)
0:
id: 77
repo: "example"
title: "Update example"
author: "exampleAuthor"
status: "good"
我如何仅过滤尚未请求更改或已批准的请求?
我看过here,但找不到解决问题的方法。