There are some GraphQL queries here, but most of them have been moved to gh cli queries here.
See the how to do pagination page for more information on how to do pagination.
Also great resource here for additional GraphQL queries.
create-organization.sh
Creates the organization - you just need to pass in the enterprise ID (obtained above) along with billing email, admin logins, and organization name.
download-latest-version-from-github-packages.sh
Script to download a file from the latest version of a GitHub Package
download-specific-version-from-github-packages
Script to download a file from a specific version of a GitHub Package
get-enterprise-id.sh
Get the enterprise ID used for other GraphQL calls. Use the URL slug not the friendly name of the Enterprise.
get-issue-id.sh
Get an issue ID - needed for transferring an issue, for example
get-organization.sh
Gets an organization
get-repository-id.sh
Gets a repository ID
get-saml-identities-in-enterprise.sh
Retrieves the SAML linked identity of a user in a GitHub organization.
PAT scope required: admin:enterprise
get-saml-identities-in-org.sh
Retrieves the SAML linked identity of a user in a GitHub organization.
PAT scope required: admin:org
transfer-issue.sh
Mutation to transfer an issue to a new repository