FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Accept `git_source` registry configurations for Go by mbg · Pull Request #3079 · github/codeql-action · GitHub

Accept git_source registry configurations for Go - #3079

Merged
mbg merged 2 commits into
mainfrom
mbg/proxy/accept-git-source
Sep 4, 2025
Merged

Accept git_source registry configurations for Go#3079
mbg merged 2 commits into
mainfrom
mbg/proxy/accept-git-source

Conversation

mbg commented Sep 4, 2025
edited
Loading

Copy link
Copy Markdown
Member

This allows git_source registry configurations for Go.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

mbg requested a review from a team as a code owner September 4, 2025 14:09
Copilot AI review requested due to automatic review settings September 4, 2025 14:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull Request Overview

This PR adds support for git_source registry configurations for the Go language in the CodeQL Action's start-proxy functionality. This allows Go projects to use Git-based sources in addition to the existing goproxy_server registry type.

Key Changes

  • Modified the language-to-registry-type mapping to support multiple registry types per language
  • Updated Go language to accept both goproxy_server and git_source registry types
  • Added comprehensive test coverage for the new multi-registry functionality

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/start-proxy.ts Updated LANGUAGE_TO_REGISTRY_TYPE to support arrays of registry types and modified credential filtering logic to handle multiple types per language
src/start-proxy.test.ts Added test cases to verify Go language accepts both goproxy_server and git_source registry types, and refactored existing tests to use shared test data
lib/start-proxy-action.js Generated JavaScript file (no review needed per guidelines)

mbg merged commit 2d2f57e into main Sep 4, 2025
278 checks passed
mbg deleted the mbg/proxy/accept-git-source branch September 4, 2025 15:57
github-actions Bot mentioned this pull request Sep 5, 2025
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL