TL;DR
google-github-actions/auth action won't decode URL encoded proxy username and password when needed.
Expected behavior
Our Zscaler proxy requires @ to be used within the username. Because the username and password are specified as part of a URL, they must be URL-encoded by the caller; otherwise consider what would happen if the user's password or username contained an @ or a :, etc.
- Self-hosted runner with
http_proxy and https_proxy setup with http://gcp-githubshr-np%40globaltest.com:*************@vse.swg.np.cyber.gcpnp.com:80
- Expect
auth action load proxy username as gcp-githubshr-np@globaltest.com
Observed behavior
Auth action use plain text instead of decode %40 to @

Action YAML
- name: Google Cloud OIDC Authentication
id: gcp-oidc
uses: 'google-github-actions/auth@v2'
env:
NODE_DEBUG: http
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
with:
token_format: access_token
workload_identity_provider: projects/10000000000/locations/global/workloadIdentityPools/github-enterprise-cloud/providers/xxxxx
service_account: h-primary-services-np@xxx-bootstrap-np-487e09.iam.gserviceaccount.com
Log output
No response
Additional information
Self-hosted runner with http_proxy and https_proxy as part of global env.
http_proxy= http://gcp-xxxx-githubshr-np%40globaltest.com:*************@vse.swg.np.cyber.gcpnp.com:80
https_proxy= http://gcp-xxxx-githubshr-np%40globaltest.com:*************@vse.swg.np.cyber.gcpnp.com:80
TL;DR
google-github-actions/authaction won't decode URL encoded proxy username and password when needed.Expected behavior
Our Zscaler proxy requires
@to be used within the username. Because the username and password are specified as part of a URL, they must be URL-encoded by the caller; otherwise consider what would happen if the user's password or username contained an@or a:, etc.http_proxyandhttps_proxysetup with http://gcp-githubshr-np%40globaltest.com:*************@vse.swg.np.cyber.gcpnp.com:80authaction load proxy username asgcp-githubshr-np@globaltest.comObserved behavior
Authaction use plain text instead of decode%40to@Action YAML
Log output
No response
Additional information
Self-hosted runner with http_proxy and https_proxy as part of global env.