fix(renovate): make the custom managers match their files #50

Merged
deadstyle merged 1 commit from chore/renovate-patterns into develop 2026-10-08 09:31:08 -05:00
Owner

Summary

Renovate never tracked lazyforge's CI tools. Both custom rules used a bare ^…$ regex in managerFilePatterns, which Renovate reads as a glob, so neither matched a file. The pattern came from the shared Renovate guide's example. The guide is being fixed in deadstyle/forgejo#17, which also adds a check that catches this.

  • golangci-lint and govulncheck: patterns wrapped in /…/. The golangci-lint rule now covers every workflow, because release.yml pins it too.
  • shellcheck: newly tracked. Both workflows download SHELLCHECK_VERSION: v0.11.0 from its GitHub release, and no rule covered it. It joins the existing "CI tools non-major" group.

Expect the weekly batch to start including these tools.

No ticket. This came out of an instance-wide Renovate audit.

Verification

renovate/check-custom-managers from deadstyle/forgejo#17 uses Renovate 44.115.13, the version the bot runs:

=== develop (before)
Renovate 44.115.13: 0 dependencies from 2 customManagers
FAIL  no file matched the customManager for golangci/golangci-lint
FAIL  no file matched the customManager for golang.org/x/vuln
=== this branch
Renovate 44.115.13: 5 dependencies from 3 customManagers
  .forgejo/workflows/ci.yml: golangci/golangci-lint 2.13.2 [github-releases]
  .forgejo/workflows/release.yml: golangci/golangci-lint 2.13.2 [github-releases]
  Makefile: golang.org/x/vuln v1.8.0 [go]
  .forgejo/workflows/ci.yml: koalaman/shellcheck v0.11.0 [github-releases]
  .forgejo/workflows/release.yml: koalaman/shellcheck v0.11.0 [github-releases]

renovate-config-validator --strict: Config validated successfully. Only renovate.json changed, so make check is unaffected. CI on this MR confirms it.

🤖 Generated with Claude Code

## Summary Renovate never tracked lazyforge's CI tools. Both custom rules used a bare `^…$` regex in `managerFilePatterns`, which Renovate reads as a glob, so neither matched a file. The pattern came from the shared Renovate guide's example. The guide is being fixed in deadstyle/forgejo#17, which also adds a check that catches this. - golangci-lint and govulncheck: patterns wrapped in `/…/`. The golangci-lint rule now covers every workflow, because `release.yml` pins it too. - shellcheck: newly tracked. Both workflows download `SHELLCHECK_VERSION: v0.11.0` from its GitHub release, and no rule covered it. It joins the existing "CI tools non-major" group. Expect the weekly batch to start including these tools. No ticket. This came out of an instance-wide Renovate audit. ## Verification `renovate/check-custom-managers` from deadstyle/forgejo#17 uses Renovate 44.115.13, the version the bot runs: ``` === develop (before) Renovate 44.115.13: 0 dependencies from 2 customManagers FAIL no file matched the customManager for golangci/golangci-lint FAIL no file matched the customManager for golang.org/x/vuln === this branch Renovate 44.115.13: 5 dependencies from 3 customManagers .forgejo/workflows/ci.yml: golangci/golangci-lint 2.13.2 [github-releases] .forgejo/workflows/release.yml: golangci/golangci-lint 2.13.2 [github-releases] Makefile: golang.org/x/vuln v1.8.0 [go] .forgejo/workflows/ci.yml: koalaman/shellcheck v0.11.0 [github-releases] .forgejo/workflows/release.yml: koalaman/shellcheck v0.11.0 [github-releases] ``` `renovate-config-validator --strict`: `Config validated successfully`. Only `renovate.json` changed, so `make check` is unaffected. CI on this MR confirms it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(renovate): make the custom managers match their files
All checks were successful
ci / check (pull_request) Successful in 1m34s
2fc15520fc
managerFilePatterns entries are globs unless wrapped in /…/, so the bare
^…$ patterns matched no file and golangci-lint and govulncheck were never
tracked. Wrap them, widen golangci-lint to every workflow (release.yml pins
it too), and track the shellcheck release both workflows download.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deadstyle merged commit c5727f2ff4 into develop 2026-10-08 09:31:08 -05:00
Sign in to join this conversation.
No description provided.