Skip to content

chore: adopt the shared DIRACGrid Renovate config - #292

Merged
fstagni merged 2 commits into
develfrom
renovate-preset
Nov 16, 2026
Merged

fstagni merged 2 commits into
develfrom
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.

Renovate reads its config only from the default branch (master), so this takes effect at the next merge of devel into master. baseBranchPatterns then makes Renovate open dependency PRs on devel as well as master:

{
  "$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"
  ],
  "baseBranchPatterns": [
    "devel",
    "$default"
  ]
}

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 weekly PR 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.

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).

@fstagni
fstagni changed the base branch from master to devel November 16, 2026 11:15
@aldbr
aldbr changed the base branch from devel to master November 16, 2026 13:53
fstagni and others added 2 commits November 16, 2026 14:56
- "schema" -> "$schema": Renovate rejects unknown options ("Invalid configuration option: schema"), opens a config-error issue and stops processing the repo.
- Renovate reads its config only from the default branch (master), so this takes effect once devel is merged into master; baseBranchPatterns [devel, $default] then keeps dependency PRs on devel as well as master.
- Add the final newline.

Assisted-by: Claude:claude-opus-5-5
@aldbr
aldbr changed the base branch from master to devel November 16, 2026 13:56
@fstagni
fstagni merged commit bdee43f into devel Nov 16, 2026
30 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