Skip to content

Commit 09dbc1b

Browse files
gokulhostclaude
andcommitted
chore(root): track sfw version in Dockerfile via Renovate
Adds a custom regex manager so Renovate opens a PR automatically whenever a new sfw version is published to npm. Ref: WCN-972 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7d7bfc3 commit 09dbc1b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
"extends": ["github>BitGo/gha-renovate-bot//presets/default"],
44
"baseBranches": ["master"],
55
"enabledManagers": ["github-actions", "regex", "npm"],
6+
"customManagers": [
7+
{
8+
"description": "Track sfw version pinned in Dockerfile",
9+
"customType": "regex",
10+
"fileMatch": ["(^|/)Dockerfile$"],
11+
"matchStrings": ["sfw@(?<currentValue>[\\d.]+)"],
12+
"depNameTemplate": "sfw",
13+
"datasourceTemplate": "npm"
14+
}
15+
],
616
"packageRules": [
717
{
818
"description": "Disable all npm dependencies by default",

0 commit comments

Comments
 (0)