-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(config): migrate config .github/renovate.json5 [staging]
- Loading branch information
1 parent
720487b
commit a06e996
Showing
1 changed file
with
72 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,100 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base", | ||
"helpers:pinGitHubActionDigests", | ||
"github>msfjarvis/shared-workflows//renovate/automerge", | ||
$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||
extends: [ | ||
'config:recommended', | ||
'helpers:pinGitHubActionDigests', | ||
'github>msfjarvis/shared-workflows//renovate/automerge', | ||
], | ||
"packageRules": [ | ||
packageRules: [ | ||
{ | ||
"packageNames": ["gohugoio/hugo"], | ||
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)", | ||
matchPackageNames: [ | ||
'gohugoio/hugo', | ||
], | ||
extractVersion: '^v(?<version>\\d+\\.\\d+\\.\\d+)', | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"commitMessageExtra": "({{#if (lookup . \"changelog\")}}{{changelog}}{{/if}})", | ||
matchUpdateTypes: [ | ||
'minor', | ||
'patch', | ||
], | ||
commitMessageExtra: '({{#if (lookup . "changelog")}}{{changelog}}{{/if}})', | ||
}, | ||
], | ||
"regexManagers": [ | ||
customManagers: [ | ||
{ | ||
"description": "Update Hugo version in Actions workflows", | ||
"fileMatch": [".yml$", ".toml$"], | ||
"matchStrings": [ | ||
customType: 'regex', | ||
description: 'Update Hugo version in Actions workflows', | ||
fileMatch: [ | ||
'.yml$', | ||
'.toml$', | ||
], | ||
matchStrings: [ | ||
"hugo-version: '(?<currentValue>.*?)'", | ||
"HUGO_VERSION = \"(?<currentValue>.*?)\"", | ||
'HUGO_VERSION = "(?<currentValue>.*?)"', | ||
], | ||
"depNameTemplate": "gohugoio/hugo", | ||
"datasourceTemplate": "github-releases", | ||
depNameTemplate: 'gohugoio/hugo', | ||
datasourceTemplate: 'github-releases', | ||
}, | ||
{ | ||
"description": "Update Decap CMS", | ||
"fileMatch": ["static/admin/index.html"], | ||
"matchStrings": [ | ||
"\/@sveltia/cms@(?<currentValue>.*?)\/dist", | ||
customType: 'regex', | ||
description: 'Update Decap CMS', | ||
fileMatch: [ | ||
'static/admin/index.html', | ||
], | ||
matchStrings: [ | ||
'/@sveltia/cms@(?<currentValue>.*?)/dist', | ||
], | ||
"depNameTemplate": "@sveltia/cms", | ||
"datasourceTemplate": "npm", | ||
depNameTemplate: '@sveltia/cms', | ||
datasourceTemplate: 'npm', | ||
}, | ||
{ | ||
"description": "Update dprint TypeScript plugin", | ||
"fileMatch": ["dprint.json"], | ||
"matchStrings": [ | ||
"typescript-(?<currentValue>.*?).wasm", | ||
customType: 'regex', | ||
description: 'Update dprint TypeScript plugin', | ||
fileMatch: [ | ||
'dprint.json', | ||
], | ||
"depNameTemplate": "dprint/dprint-plugin-typescript", | ||
"datasourceTemplate": "github-releases", | ||
matchStrings: [ | ||
'typescript-(?<currentValue>.*?).wasm', | ||
], | ||
depNameTemplate: 'dprint/dprint-plugin-typescript', | ||
datasourceTemplate: 'github-releases', | ||
}, | ||
{ | ||
"description": "Update dprint JSON plugin", | ||
"fileMatch": ["dprint.json"], | ||
"matchStrings": [ | ||
"json-(?<currentValue>.*?).wasm", | ||
customType: 'regex', | ||
description: 'Update dprint JSON plugin', | ||
fileMatch: [ | ||
'dprint.json', | ||
], | ||
matchStrings: [ | ||
'json-(?<currentValue>.*?).wasm', | ||
], | ||
"depNameTemplate": "dprint/dprint-plugin-json", | ||
"datasourceTemplate": "github-releases", | ||
depNameTemplate: 'dprint/dprint-plugin-json', | ||
datasourceTemplate: 'github-releases', | ||
}, | ||
{ | ||
"description": "Update dprint Markdown plugin", | ||
"fileMatch": ["dprint.json"], | ||
"matchStrings": [ | ||
"markdown-(?<currentValue>.*?).wasm", | ||
customType: 'regex', | ||
description: 'Update dprint Markdown plugin', | ||
fileMatch: [ | ||
'dprint.json', | ||
], | ||
"depNameTemplate": "dprint/dprint-plugin-markdown", | ||
"datasourceTemplate": "github-releases", | ||
matchStrings: [ | ||
'markdown-(?<currentValue>.*?).wasm', | ||
], | ||
depNameTemplate: 'dprint/dprint-plugin-markdown', | ||
datasourceTemplate: 'github-releases', | ||
}, | ||
{ | ||
"description": "Update dprint TOML plugin", | ||
"fileMatch": ["dprint.json"], | ||
"matchStrings": [ | ||
"toml-(?<currentValue>.*?).wasm", | ||
customType: 'regex', | ||
description: 'Update dprint TOML plugin', | ||
fileMatch: [ | ||
'dprint.json', | ||
], | ||
matchStrings: [ | ||
'toml-(?<currentValue>.*?).wasm', | ||
], | ||
"depNameTemplate": "dprint/dprint-plugin-toml", | ||
"datasourceTemplate": "github-releases", | ||
depNameTemplate: 'dprint/dprint-plugin-toml', | ||
datasourceTemplate: 'github-releases', | ||
}, | ||
], | ||
"commitMessageSuffix": "[staging]", | ||
commitMessageSuffix: '[staging]', | ||
} |