Skip to content

Commit

Permalink
feat[#7]: first linux release (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfwf authored Jan 4, 2024
1 parent 24a7638 commit fa3074f
Show file tree
Hide file tree
Showing 2 changed files with 490 additions and 0 deletions.
120 changes: 120 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
// stripped-down config:base
":prHourlyLimit2",
":prConcurrentLimit10",
"group:monorepos",
"group:recommended",
"workarounds:all",
// automerge minor updates
":automergeMinor",
":automergeBranch"
],
"labels": [
"📦 dependencies"
],
"semanticCommits": "enabled",
"semanticCommitType": "build",
"rangeStrategy": "bump",
"rebaseWhen": "conflicted",
"packageRules": [
// group updates to related packages
{
"groupName": "clap crates",
"matchDatasources": [
"crate"
],
"matchPackagePrefixes": [
"clap"
]
},
{
"groupName": "gitoxide crates",
"matchDatasources": [
"crate"
],
"matchPackagePrefixes": [
"gix"
]
},
{
"groupName": "pest crates",
"matchDatasources": [
"crate"
],
"matchPackagePrefixes": [
"pest"
]
},
{
"groupName": "toml crates",
"matchDatasources": [
"crate"
],
"matchPackagePrefixes": [
"toml"
]
},
{
"groupName": "unicode crates",
"matchDatasources": [
"crate"
],
"matchPackagePrefixes": [
"unicode"
]
},
{
"groupName": "dprint plugins",
"matchPackagePrefixes": [
"dprint"
],
"extends": [
"schedule:weekly"
]
},
{
"groupName": "npm",
"matchDatasources": [
"npm"
],
"extends": [
"schedule:weekly"
]
},
// Update (rust) lockfiles weekly
{
"matchDatasources": [
"crate"
],
"lockFileMaintenance": {
"enabled": true,
"extends": [
"schedule:weekly"
]
}
}
],
// custom regex update managers
"regexManagers": [
{
"fileMatch": [
"(^|\\/)\\.?dprint.json"
],
"matchStrings": [
"\"https://github.com/(?<depName>.+)/releases/download/(?<currentValue>.+)/plugin.wasm\""
],
"datasourceTemplate": "github-releases"
},
{
"fileMatch": [
"^(workflow-templates|\\.github\\/workflows)\\/[^/]+\\.ya?ml$"
],
"matchStrings": [
"cargo install.*--version (?<currentValue>\\S+).*\\s(?<depName>\\S+)"
],
"datasourceTemplate": "crate"
}
]
}
Loading

0 comments on commit fa3074f

Please sign in to comment.