← 输入框|github.com|刷新
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: github/codeql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: github/codeql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: go/proxy-git-cainfo-env
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Oct 22, 2026

  1. Go: Pass proxy certificate to git via GIT_SSL_CAINFO

    The extractor ran `git config --global http.sslCAInfo <temp cert>` when
    private `git_source` registries were configured. That permanently modified
    the user's global git configuration, and on non-ephemeral (e.g. self-hosted)
    runners it kept pointing at a temporary certificate file after the job
    finished, breaking later git HTTPS operations.
    
    Instead, set `GIT_SSL_CAINFO` alongside `SSL_CERT_FILE` in the environment
    that `ApplyProxyEnvVars` applies to `go` commands. This is picked up by the
    `git` processes `go` spawns, and is scoped to those subprocesses.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    jketema and Copilot committed Oct 22, 2026
    Configuration menu
    Copy the full SHA
    62c944f View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2026

  1. Go: Clarify registry proxy certificate handling

    Document the proxy certificate behavior without referring to the previous global Git configuration, and add a Go extractor change note.
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    jketema and Copilot committed Oct 26, 2026
    Configuration menu
    Copy the full SHA
    9c787f4 View commit details
    Browse the repository at this point in the history
Loading