Skip to content

Commit 8ef14cd

Browse files
authored
chore: migrate github-actions updates from dependabot to renovate 🤖
1 parent 61eeaec commit 8ef14cd

2 files changed

Lines changed: 32 additions & 9 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/renovate.json5

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// This file follows JSON5 syntax, to make it
2+
// easier to maintain.
3+
{
4+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
5+
// Disable every built-in manager (npm, dockerfile, ...) except github-actions.
6+
enabledManagers: ["github-actions"],
7+
// PR titles use Conventional Commits: `deps(<action>): ...`
8+
semanticCommits: "enabled",
9+
semanticCommitType: "deps",
10+
packageRules: [
11+
// GitHub Actions updates: run weekly, skip releases newer than 2 weeks
12+
// to avoid picking up freshly published versions that may be unstable or
13+
// compromised, and pin to full commit SHAs (with the version as a
14+
// trailing comment) rather than mutable tags.
15+
// When both major and minor releases exist, propose only the latest bump
16+
// (typically major) instead of a separate minor PR.
17+
{
18+
matchManagers: ["github-actions"],
19+
schedule: ["on monday"],
20+
minimumReleaseAge: "14 days",
21+
// Track upgrades by semver tag, but pin the resolved version to its full
22+
// commit SHA (semver tag kept as a trailing comment). Use the coerced
23+
// variant so short tags like `v3` / `v1.7` (which several actions only
24+
// publish) still parse instead of silently stopping updates.
25+
versioning: "semver-coerced",
26+
pinDigests: true,
27+
separateMajorMinor: false,
28+
semanticCommitScope: "{{depName}}",
29+
commitMessageTopic: "{{depName}}",
30+
},
31+
],
32+
}

0 commit comments

Comments
 (0)