Skip to content

Commit

Permalink
Use a more up-to-date Renovate (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamthome authored Jul 29, 2024
1 parent a5e9068 commit edb21b7
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 6 deletions.
54 changes: 54 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"helpers:pinGitHubActionDigests",
":pinDevDependencies",
":pinDigestsDisabled"
],
"packageRules": [
{
"matchFileNames": [
".github/**/*.yml",
".tool-versions"
],
"groupName": "dev tools"
},
{
"matchFileNames": [
"rebar.config"
],
"groupName": "rebar.config deps"
},
{
"matchPackagePrefixes": [
"minimum_otp_vsn"
],
"enabled": false
}
],
"customManagers": [
{
"description": "Match versions (per datasource and depName) in .github/**/*.yml",
"customType": "regex",
"fileMatch": [
".github/.*/.*\\.yml"
],
"matchStrings": [
"# renovate datasource: (?<datasource>[^,]+), depName: (?<depName>[^\\n]+)\\n.+?(?<currentValue>v?\\d+(\\.\\d+(\\.\\d+)?)?(-[^\\n]+)?)\\n"
]
},
{
"description": "Match versions in rebar.config",
"customType": "regex",
"fileMatch": [
"rebar.config"
],
"datasourceTemplate": "hex",
"matchStrings": [
"{(?<depName>[^,]+), \"(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)\""
],
"versioningTemplate": "semver"
}
]
}
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

0 comments on commit edb21b7

Please sign in to comment.