Skip to content

Commit 9694ed9

Browse files
Nicolas Brieusselclaude
authored andcommitted
feat: add Renovate config for automated dependency updates
- regexManagers: tracks SAFE_SETTINGS_VERSION in workflow files (Dependabot can't detect env-block versions) - safe-settings: automerge off, 7-day minimum release age - prettier: automerge on branch (low risk, no functional impact) Closes #6. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 93595c2 commit 9694ed9

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

renovate.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"regexManagers": [
5+
{
6+
"fileMatch": ["^\\.github/workflows/.+\\.yml$"],
7+
"matchStrings": ["SAFE_SETTINGS_VERSION: (?<currentValue>[^\\s]+)"],
8+
"datasourceTemplate": "github-tags",
9+
"depNameTemplate": "github/safe-settings",
10+
"versioningTemplate": "semver"
11+
}
12+
],
13+
"packageRules": [
14+
{
15+
"matchDepNames": ["github/safe-settings"],
16+
"automerge": false,
17+
"minimumReleaseAge": "7 days",
18+
"labels": ["renovate"]
19+
},
20+
{
21+
"matchPackageNames": ["prettier"],
22+
"automerge": true,
23+
"automergeType": "branch"
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)