Skip to content

Commit

Permalink
renovate updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brenix committed Dec 26, 2024
1 parent 9af8d05 commit 54ef1ac
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
":skipStatusChecks",
"github>brenix/local-ops//.github/renovate/packageRules.json5",
"github>brenix/local-ops//.github/renovate/commitMessage.json5",
"github>brenix/local-ops//.github/renovate/semantic-commits.json5",
"github>brenix/local-ops//.github/renovate/customManagers.json5"
],
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion .github/renovate/commitMessage.json5
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": " {{newVersion}}",
"commitMessageExtra": "to {{newVersion}}",
"commitMessageSuffix": "",
"packageRules": [
{
Expand Down
7 changes: 7 additions & 0 deletions .github/renovate/packageRules.json5
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
],
"matchPackageNames": "lscr.io/linuxserver/lidarr",
"allowedVersions": "<=8.0"
},
{
"matchManagers": ["github-actions"],
"automerge": true,
"automergeType": "branch",
"matchUpdateTypes": ["minor", "patch", "digest"],
"ignoreTests": true
}
]
}
48 changes: 48 additions & 0 deletions .github/renovate/semantic-commits.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [":semanticCommits"],
"packageRules": [
{
"matchUpdateTypes": ["major"],
"semanticCommitType": "feat",
"commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}})!:",
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})"
},
{
"matchUpdateTypes": ["minor"],
"semanticCommitType": "feat",
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})"
},
{
"matchUpdateTypes": ["patch"],
"semanticCommitType": "fix",
"commitMessageExtra": "({{currentVersion}} → {{newVersion}})"
},
{
"matchUpdateTypes": ["digest"],
"semanticCommitType": "chore",
"commitMessageExtra": "({{currentDigestShort}} → {{newDigestShort}})"
},
{
"matchDatasources": ["docker"],
"semanticCommitScope": "container"
},
{
"matchDatasources": ["helm"],
"semanticCommitScope": "helm"
},
{
"matchDatasources": ["terraform-provider"],
"semanticCommitScope": "terraform"
},
{
"matchDatasources": ["galaxy", "galaxy-collection"],
"semanticCommitScope": "ansible"
},
{
"matchManagers": ["github-actions"],
"semanticCommitType": "ci",
"semanticCommitScope": "github-action"
}
]
}

0 comments on commit 54ef1ac

Please sign in to comment.