Does Renovate support excluding digest updates on NPM? #9139
Replies: 2 comments 11 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Good memory! 😄 Docusaurus uses some weird versioning unfortunately. I'm using this config to filter out the "packageRules": [
{
"description": "Allow mainline @docusaurus releases, ignore canary releases",
"matchPackagePatterns": ["^@docusaurus"],
"allowedVersions": "/^\\d+\\.\\d+\\.\\d+(-alpha\\.(\\d+))?$/"
} If you want to see the config in the context of a complete Renovate config, you can check out: https://github.com/HonkingGoose/git-gosling/blob/main/renovate.json to see the full config I'm using now. |
Beta Was this translation helpful? Give feedback.
-
I have a recurring PR on hosted Gitlab for a monorepo dependency that has a digest version which was released without a tag. Renovate wants to keep creating PR's which I close but I'd like to avoid these being created for anything but major/minor/patch for the monorepo.
My config looks like this:
My understanding is that versions like this 2.0.0-alpha.71 should match, while versions like this v2.0.0-alpha.ffe8b6106 should be ignored.
Does Renovate classify a digest tagged update as a patch? Am I missing something from my config? Is the pinDigests rule being interpreted globally instead of just for Dockerfiles?
Beta Was this translation helpful? Give feedback.
All reactions