export ORG=<YOUR-ORG>- Get Business seat information and settings for an org
| query FullPullRequestQuery( | |
| $repositoryOwner: String! | |
| $repositoryName: String! | |
| $pullRequestNumber: Int! | |
| ) { | |
| repository(owner: $repositoryOwner, name: $repositoryName) { | |
| pullRequest(number: $pullRequestNumber) { | |
| id | |
| state # PR state. For example, { "OPEN", "MERGED", "CLOSED" } | |
| isDraft # Identifies if the pull request is a draft. |
| query ($login: String!, $endCursor: String) { | |
| organization(login: $login) { | |
| repositories(first: 10, after: $endCursor) { | |
| pageInfo { | |
| endCursor | |
| hasNextPage | |
| } | |
| nodes { | |
| name | |
| deployKeys(first: 100) { |
| gh api --paginate graphql -f organization=<orgname> -f query='query($organization: String!, $endCursor: String) { | |
| organization(login: $organization) { | |
| login | |
| repositories(first: 100, after: $endCursor) { | |
| nodes { | |
| nameWithOwner | |
| branchProtectionRules(first: 100, after: $endCursor) { | |
| totalCount | |
| nodes { | |
| repository { |