如何解决获取组织中的Github存储库所有者
我正在尝试获取组织中存储库中的Admin列表,
找不到解决办法,总是向我返回组织名称,而不是存储库的管理员名称
query Github {
organization(login: "platform-test") {
repositories(first: 100,after:"Y3Vyc29ysd654OAAKz-A==") {
nodes {
nameWithOwner
owner{
login
id
__typename
url
}
}
pageInfo {
endCursor
hasNextPage
}
totalCount
}
}
}
将返回结果快照:
"data": {
"organization": {
"repositories": {
"nodes": [
{
"nameWithOwner": "Platform-test/afapi-aps-bigfix","owner": {
"login": "Platform-test","id": "MDEyOk9yZ2FuaXphdGlvbjc2NjA=","__typename": "Organization","url": "https://github.dxc.com/Platform-test"
}
},{
"nameWithOwner": "Platform-test/CVA-operation-k8s-pre",....
找不到一种方法来获取组织内部存储库的管理员列表
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。