aws-actions / configure-aws-credentials

Configure AWS credential environment variables for use in other GitHub Actions.
MIT License
2.41k stars 465 forks source link

feat: try to load proxy from environment if not provided via input #1080

Open derdanne opened 2 months ago

derdanne commented 2 months ago

Issue #, if available:

1061

Description of changes:

The current proxy implementation does not load the proxy configuration from the runner environment as stated in the documentation.

This PR solves this by trying to load the proxy configuration from the runner environment, when no "http-proxy" input is given. The used node package checks for the specific endpoint url of the given STS regional endpoint and also respects no_proxy configurations.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.