0
如何过滤以下命令的结果,只给我带有特定标签的请求:“准备释放”与github api?Github API只能得到具有特定标签的请求
curl -u <token>-oauth-basic https://api.github.com/repos/<reponame>/<branch>/pulls
如何过滤以下命令的结果,只给我带有特定标签的请求:“准备释放”与github api?Github API只能得到具有特定标签的请求
curl -u <token>-oauth-basic https://api.github.com/repos/<reponame>/<branch>/pulls
发现在GitHub的API来回答
只要进入以下网址,它会返回一个拉入请求被打上了标签:
https://api.github.com/repos/{organization_name}/{repo}/issues/{pull_request_number}/labels?access_token='{github_token})