Skip to content

Commit

Permalink
Add big-fat-warning re: golang 1.21+ toolchain
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Mar 15, 2024
1 parent df5c5e9 commit 36c2bc6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions renovate/defaults.json5
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,25 @@ and/or use the pre-commit hook: https://github.com/renovatebot/pre-commit-hooks
}
],

/*************************************************
***** Language-specific configuration options ****
**************************************************/

// ***** ATTENTION WARNING CAUTION DANGER ***** //
// Go versions 1.21 and later will AUTO-UPDATE based on _module_
// _requirements_. ref: https://go.dev/doc/toolchain Because
// many different projects covered by this config, build under
// different distros and distro-versions, golang version consistency
// is desireable across build outputs. In golang 1.21 and later,
// it's possible to pin the version in each project using the
// toolchain go.mod directive. Prior to 1.21, for now, we do not
// want Renovate to propose updates which also trigger golang
// auto-updates. The only way to fully disable these auto-updates
// in renovate is through a forced static-version constraint. This
// is undesireable from a maintenance perspective, and hopefully
// temporarry. Ref: Upstream discussion https://github.com/golang/go/issues/65847
"constraints": {"go": "1.20"},

// N/B: LAST MATCHING RULE WINS, match statems are ANDed together.
// https://docs.renovatebot.com/configuration-options/#packagerules
"packageRules": [
Expand Down

0 comments on commit 36c2bc6

Please sign in to comment.