Skip to content

chore: adopt the shared DIRACGrid Renovate config - #14

Merged
aldbr merged 5 commits into
DIRACGrid:masterfrom
fstagni:renovate-preset
Nov 17, 2026
Merged

aldbr merged 5 commits into
DIRACGrid:masterfrom
fstagni:renovate-preset

Conversation

@fstagni

@fstagni fstagni commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Adopts the org-wide Renovate baseline merged in DIRACGrid/.github#7, so update policy is managed centrally instead of per-repo.

This repo config is now a one-liner:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "description": "Adopts the shared DIRACGrid Renovate policy (see DIRACGrid/.github renovate-config.json).",
  "extends": [
    "local>DIRACGrid/.github//renovate-config"
  ]
}

What the shared preset provides (edited once in DIRACGrid/.github, validated in CI with renovate-config-validator --strict):

  • helpers:pinGitHubActionDigests: GitHub Actions are pinned to digests (what zizmor's unpinned-uses audit asks for) and the pins keep receiving updates, grouped in a single PR (no schedule, so it opens when updates are available) labelled dependencies + github-actions.
  • minimumReleaseAge: "7 days": supply-chain cooldown for third-party dependencies; DIRACGrid's own actions/workflows/images are exempt.
  • weekly lock file maintenance (one PR per repo, covering pixi.lock); npm lock files are not refreshed blindly.
  • :configMigration: PRs migrating deprecated Renovate options.
  • the pre-commit manager (chore: enable Renovate's pre-commit manager in the shared preset .github#8): update PRs for the hook revs in .pre-commit-config.yaml, which Renovate leaves off by default.

Part of the rollout following DIRACGrid/.github#5 and DIRACGrid/.github#7 (other repos already migrated or with open PRs: diracx, diracx-web, diracx-charts, DIRACOS2, intercede, signurlarity, container-images).

Renovate disables the pre-commit manager by default and the shared
preset does not enable it, so the hooks (pinned since 2023) would never
get update PRs.

Assisted-by: Claude:claude-opus-5-5
@fstagni

fstagni commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

You added 2f35026 to this PR, but we can add the setting in the shared .github renovate file. Then, for diracx we can drop the usage pre-commit.ci app.

The shared preset enables it for every adopter (DIRACGrid/.github#8).

Assisted-by: Claude:claude-opus-5-5
@aldbr
aldbr merged commit e65ee51 into DIRACGrid:master Nov 17, 2026
6 checks passed
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