Skip to content

Conversation

@joshjohanning
Copy link
Owner

New script for organization databaseId retrieval:

  • Added get-organization-database-id-for-vnet.sh: A Bash script that uses the GitHub CLI (gh api graphql) to fetch the databaseId of a specified organization, intended for VNet injection configuration.

@joshjohanning joshjohanning requested a review from Copilot October 21, 2025 14:28
Copy link
Contributor

Copilot AI left a 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.sh that queries the GraphQL API for an organization's databaseId
  • Documentation added to gh-cli/README.md with 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

@github-actions
Copy link

github-actions bot commented Oct 21, 2025

📋 Lint Results

⚡ ./gh-cli scripts

✅ No issues found.

🔧 ./scripts scripts

✅ No issues found.

Lint results updated at Tue Oct 21 14:50:08 UTC 2025

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings October 21, 2025 14:29
Copy link
Contributor

Copilot AI left a 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.

joshjohanning and others added 2 commits October 21, 2025 09:31
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings October 21, 2025 14:31
Copy link
Contributor

Copilot AI left a 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.

joshjohanning and others added 2 commits October 21, 2025 09:33
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@joshjohanning joshjohanning enabled auto-merge (squash) October 21, 2025 14:49
@joshjohanning joshjohanning merged commit 3fac43c into main Oct 21, 2025
6 checks passed
@joshjohanning joshjohanning deleted the organization-id branch October 21, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants