-
Notifications
You must be signed in to change notification settings - Fork 61
feat: add script to retrieve organization databaseId for VNet injection #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new script to retrieve an organization's databaseId, which is required for VNet injection configuration with GitHub-hosted runners. The script uses the GitHub GraphQL API via gh api graphql to fetch this information.
Key changes:
- New script
get-organization-database-id-for-vnet.shthat queries the GraphQL API for an organization'sdatabaseId - Documentation added to
gh-cli/README.mdwith usage instructions and a reference link to GitHub's VNet injection documentation
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| gh-cli/get-organization-database-id-for-vnet.sh | New script that retrieves organization databaseId via GraphQL API |
| gh-cli/README.md | Added documentation entry for the new script with usage example and VNet injection reference |
📋 Lint Results⚡ ./gh-cli scripts🔧 ./scripts scriptsLint results updated at Tue Oct 21 14:50:08 UTC 2025 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
…tabase-id-for-vnet.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
New script for organization databaseId retrieval:
get-organization-database-id-for-vnet.sh: A Bash script that uses the GitHub CLI (gh api graphql) to fetch thedatabaseIdof a specified organization, intended for VNet injection configuration.