-
Notifications
You must be signed in to change notification settings - Fork 101
Set GOPROXY conditionally #1356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1356 +/- ##
==========================================
+ Coverage 84.88% 85.00% +0.11%
==========================================
Files 100 100
Lines 14528 14528
==========================================
+ Hits 12332 12349 +17
+ Misses 1735 1716 -19
- Partials 461 463 +2 see 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Proposed changes
Adds a new GitHub Action
configure-goproxy
which can determine which value to use forGOPROXY
environment variable. If secrets are available it will use the one from Artifactory. If not it will usedirect
. This should allow both dependabot and forked branches to use the direct proxy when secrets are not available.Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentmake install-tools
and have attached any dependency changes to this pull requestREADME.md
)