Skip to content

Add GOPRIVATE to renovate-config.json#15

Merged
bryanbeverly merged 1 commit into
mainfrom
renovate-goprivate
Jun 2, 2026
Merged

Add GOPRIVATE to renovate-config.json#15
bryanbeverly merged 1 commit into
mainfrom
renovate-goprivate

Conversation

@mariduv

@mariduv mariduv commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

This makes sure any go module in our org is fetched direct rather than through the public module proxy.

GOPRIVATE should be permitted here according to renovatebot/renovate#40041


Note

Low Risk
Dependency-bot configuration only; no application runtime or auth logic changes.

Overview
Renovate’s shared config now sets GOPRIVATE to github.com/trufflesecurity/* so private org Go modules are resolved directly instead of via the public module proxy when Renovate runs Go-related updates (e.g. with existing gomodTidy post-update options).

The diff also fixes packageRules JSON closing syntax (]],) before the new top-level env block.

Reviewed by Cursor Bugbot for commit ffee775. Bugbot is set up for automated code reviews on this repo. Configure here.

This makes sure any go module in our org is fetched direct rather than through the public module proxy.

GOPRIVATE should be permitted here according to renovatebot/renovate#40041
@mariduv mariduv requested a review from a team June 2, 2026 20:01

@bryanbeverly bryanbeverly 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.

👍

@bryanbeverly bryanbeverly merged commit acd1913 into main Jun 2, 2026
3 checks passed
@bryanbeverly bryanbeverly deleted the renovate-goprivate branch June 2, 2026 21:25
bryanbeverly added a commit to trufflesecurity/helm-charts that referenced this pull request Jun 12, 2026
## Summary

Bumps the shared Renovate config preset from `v1.0.1` to `v1.0.2`.

### What's in v1.0.2

- Adds `GOPRIVATE=github.com/trufflesecurity/*` via the `env` config
key, so Renovate's Go toolchain resolves private org modules directly
instead of through the public module proxy
([.github#15](trufflesecurity/.github#15))

Without this, Renovate's `go get` fails when updating dependencies in
repos that import private `trufflesecurity/*` Go modules (e.g.,
`interservice-contracts`, `common`).

## Test plan

- [x] CI passes
- [ ] On next Renovate run, verify artifact update errors for private Go
modules are resolved

Made with [Cursor](https://cursor.com)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Single-line config reference change with no application or security
logic touched.
> 
> **Overview**
> **Renovate preset bump** from `v1.0.1` to `v1.0.2` in
`.github/renovate.json`, pulling in the shared org config that sets
`GOPRIVATE=github.com/trufflesecurity/*` so Renovate’s Go updates can
resolve private `trufflesecurity/*` modules instead of failing on the
public proxy.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
947b58a. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

2 participants