Skip to content

renovate: annotate GO_VERSION and GOLANGCI_LINT_VERSION in pre-merge workflow#41

Open
vdaviot wants to merge 1 commit into
mainfrom
improvement/annotate-workflow-versions
Open

renovate: annotate GO_VERSION and GOLANGCI_LINT_VERSION in pre-merge workflow#41
vdaviot wants to merge 1 commit into
mainfrom
improvement/annotate-workflow-versions

Conversation

@vdaviot
Copy link
Copy Markdown
Contributor

@vdaviot vdaviot commented May 21, 2026

Summary

Annotates the GO_VERSION and GOLANGCI_LINT_VERSION env vars in .github/workflows/pre-merge.yaml so the new shared platform-renovate preset's customManagers:githubActionsVersions can manage them. Tracks one of the four follow-ups listed in scality/platform-renovate#3.

Annotations added

env:
  # renovate: datasource=golang-version depName=golang
  GO_VERSION: 1.25
  # renovate: datasource=github-releases depName=golangci/golangci-lint
  GOLANGCI_LINT_VERSION: v2.4.0

After the cascade lands:

  • GO_VERSION joins the golang-toolchain group (label deps/golang-toolchain) alongside the go.mod toolchain directive.
  • GOLANGCI_LINT_VERSION joins the golangci-lint group (label deps/lint).

Merge order

Depends on scality/platform-renovate#3 and indirectly on scality/raidmgmt#40 (which wires this repo to the shared preset). The annotations are inert until the new preset's customManagers:githubActionsVersions is active.

Test plan

  • Workflow continues to run unchanged (the env vars are unmodified).
  • After the prerequisites land, observe GO_VERSION and GOLANGCI_LINT_VERSION resolving on the Dependency Dashboard under the expected groups.

…workflow

Activates the shared platform-renovate preset's
`customManagers:githubActionsVersions` for the two env vars defined in
the pre-merge workflow. Once the new preset lands, Renovate will track:

- `GO_VERSION` via the `golang-version` datasource (group:
  `golang-toolchain`, label `deps/golang-toolchain`).
- `GOLANGCI_LINT_VERSION` via `golangci/golangci-lint` GitHub releases
  (group: `golangci-lint`, label `deps/lint`).

This is the third of four follow-ups from
scality/platform-renovate#3.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vdaviot vdaviot requested a review from a team as a code owner May 21, 2026 10:11
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.

1 participant