You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using the action in a github enterprise environment.
Our runners need to go through a proxy to reach the GHES instances.
The runners are configured correctly to set the required http_proxy/https_proxy environment variables.
When the action is triggered I get the error:
Using JSON configuration from 'config' input.
(node:271) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
Warning: Failed to set reaction on comment ID 52435.
Command 'ping-local' to be dispatched.
Error: getaddrinfo ENOTFOUND <ghes-instance>.com
Expected Behaviour
When http_proxy/https_proxy are set, API requests should be sent through the configured proxy.
AI Assisted Analysis
With the help of AI I could figure out that in the autoProxyAgent function, the Octokit request is currently configured to use HttpProxyAgent.
But the current Octokit request stack uses Fetch-compatible requests and therefore the Node.js HTTP(S) agents are not used by the underlying transport.
AI suggested to configure Octokit with an Undici Fetch implementation using EnvHttpProxyAgent as its dispatcher.
This worked for me.
Description
I tried using the action in a github enterprise environment.
Our runners need to go through a proxy to reach the GHES instances.
The runners are configured correctly to set the required http_proxy/https_proxy environment variables.
When the action is triggered I get the error:
Expected Behaviour
When http_proxy/https_proxy are set, API requests should be sent through the configured proxy.
AI Assisted Analysis
With the help of AI I could figure out that in the
autoProxyAgentfunction, the Octokit request is currently configured to useHttpProxyAgent.But the current Octokit request stack uses Fetch-compatible requests and therefore the Node.js HTTP(S) agents are not used by the underlying transport.
AI suggested to configure Octokit with an Undici Fetch implementation using
EnvHttpProxyAgentas its dispatcher.This worked for me.