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

Properly unset proxy env if empty by marcogario · Pull Request #2741 · github/codeql-action · GitHub

Properly unset proxy env if empty - #2741

Merged
marcogario merged 1 commit into
mainfrom
reset_proxy_envs
Jan 29, 2025
Merged

Properly unset proxy env if empty#2741
marcogario merged 1 commit into
mainfrom
reset_proxy_envs

Conversation

marcogario commented Jan 29, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

#2733 did not work correctly for Java because the CLI was expecting the environment variables to be unset and not just empty.

While we make the CLI more permissive, this PR re-introduces the changes in #2733 and patches the analyze action to unset those variables.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

marcogario marked this pull request as ready for review January 29, 2025 11:39
Copilot AI review requested due to automatic review settings January 29, 2025 11:39
marcogario requested a review from a team as a code owner January 29, 2025 11:39

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

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

Comments suppressed due to low confidence (1)

src/start-proxy-action.ts:103

  • This new code path for empty credentials should have corresponding test coverage to ensure it returns early as expected.
  if (credentials.length === 0) {

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

marcogario merged commit 797fb30 into main Jan 29, 2025
marcogario deleted the reset_proxy_envs branch January 29, 2025 12:23
github-actions Bot mentioned this pull request Jan 29, 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