Repository navigation
ci: add Renovate config - #17
Merged
Merged
Conversation
Adapted from DiamondLightSource/python-copier-template's renovate.json, minus the "managed by python-copier-template" disable rules (the pyenv version pin and the github-actions ignore list) — this repo isn't derived from that template, so we WANT Renovate to bump the pinned actions (e.g. softprops/action-gh-release, which is on a buggy v2.4.1) and the npm deps. Keeps config:recommended, groups non-major GitHub Actions bumps into one PR, enables pre-commit + npm lockfile maintenance. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a root
renovate.jsonso Renovate keeps the pinned GitHub Actions and npm deps current.Adapted from
DiamondLightSource/python-copier-template'srenovate.json, with the "managed by python-copier-template" disable rules dropped — this repo isn't generated from that template, so:pyenv(Python version) updates — we have no template-managed.python-version;actions/checkout,astral-sh/setup-uv,actions/upload-artifact,actions/download-artifact,softprops/action-gh-release, etc. — here we want those bumped (they're flagged Node-20-deprecated, andaction-gh-releaseis on the buggyv2.4.1that fails the release job on UI-published tags).Kept:
config:recommended, grouping non-major GitHub Actions bumps into one PR,pre-commit(we use it), and npmlockFileMaintenance(automerge if tests pass).{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"], "lockFileMaintenance": { "description": "Keep the npm lockfile up to date, merging if tests pass", "enabled": true, "automerge": true }, "pre-commit": { "enabled": true }, "packageRules": [ { "description": "Group non-major GitHub Actions updates into a single PR", "groupName": "GitHub Actions", "matchManagers": ["github-actions"], "matchUpdateTypes": ["patch", "minor"] } ] }Note
The config only takes effect once the Renovate GitHub App is enabled for this repo (org/admin action). Once it is, Renovate will open the action/dep bump PRs — including
softprops/action-gh-release→v3.0.1(the fix for therelease-job "Too many retries" failure) and the Node-20→24 action refresh.🤖 Generated with Claude Code